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

Re: Init scripts



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Amy Templeton wrote:
> Also, on the topic of the Internet, is there any daemon-type
> program I could run which would watch for my unplugging the
> computer from the network and then maybe poll for a wireless
> connection if there's one around? I mean, I don't really
> *mind* doing ifup/down manually, but it'd be neat to maybe
> streamline it a bit. Oh, and I would prefer a daemon that
> *wouldn't* pull in all kinds of dependencies I don't want,
> such as GNOME, KDE, or XFCE4. 

ifplugd will do what you want if you write some scripts and place them
in /etc/ifplugd/action.d/.

I've done this before.

- --
Andrew J. Barr
Thunderbird/1.5.0.10 (compatible; Icedove 1.5; X11; en-US; Linux
2.6.21-rc7 ppc) (Debian/1.5.0.10dfsg.1)

"Why must I fail at every attempt at masonry?"
	-- Homer Simpson, "Mom and Pop Art" [AABF15]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGKQ79huM+Z62a52oRAhE8AKDfwnd9rfnvXfX/oPAZ76u2+Zm13ACg5iwG
wq0hf6+/U7bhc1JpE1vK0zI=
=Bpwm
-----END PGP SIGNATURE-----



Reply to: