You are not logged in.

#1 2014-03-23 19:11:26

matze5800
Member
Registered: 2014-03-23
Posts: 2

NetworkManager dispatcher script doesn't work

Hey there,

i have created a script in networkmanagers dispatcher.d directory to automount my NAS once my home wifi is connected and unmount it once the connection is lost.

The dispatcher service is running and all permissions and the execution bit are set like it should be. But my script doesn't get called at all!

i also tried installing this package: https://www.archlinux.org/packages/comm … cher-sshd/ and modifying its script but that also doesn't work.

Is there some hidden settings file or something? What might be the cause for this?

Thanks. smile

Offline

#2 2014-03-23 19:56:37

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,445

Re: NetworkManager dispatcher script doesn't work

Did you start/enable the NetworkManager-dispatcher service with systemctl? I'm not clear on what you mean by it's "running".

Last edited by Scimmia (2014-03-23 19:57:10)

Offline

#3 2014-03-23 20:41:34

matze5800
Member
Registered: 2014-03-23
Posts: 2

Re: NetworkManager dispatcher script doesn't work

Oh, I'm sorry. Yes, the service is enabled.

Offline

#4 2014-03-24 06:01:07

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: NetworkManager dispatcher script doesn't work

Anything in the logs?

Can you add an echo line to your script and see if it is shown in the logs then?

Offline

Board footer

Powered by FluxBB