Run commands as user once network is up (NetworkManager)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I'm currently using NetworkManager's ability to run scripts once the
network is up[1], but that seems to only be on a system level.  Is
there some way of also running scripts/programs as the logged in user
once network is up?

Especially I want to start dropbox only when the network is available.
 It seems completely incapable of coping with a network that appears
after it's been started.

/M

[1]: I've put a short script in /etc/NetworkManager/dispatcher.d/ that
will start and stop openntpd when the network goes up and down.

-- 
Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org          Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux