[Wifidog] Re: [Volunteers] WifiDog crashed at Tribune

Thomas Guyot-Sionnest dermoth at aei.ca
Sat Oct 2 22:48:19 EDT 2004


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

Another detail about this script, I know wifidog is started with "-s"
(log to syslog) but it still send some logs to stdout. This should be
considered as a BUG since it's lost when you only use syslog.

Thomas Guyot-Sionnest wrote:
| For that purpose, I made a crontab every minutes that run this little
| script (take care not calling it "wifidog"):
|
| ---
| #!/bin/sh
|
| test=`ps -e|grep wifidog$`
| if [ x"$test" = "x" ]; then
|     echo "`date`: WiFiDog appears to be stopped, restarting." \
|> /var/log/wifidog.crontabdebug
|     /usr/local/bin/wdctl stop >> /var/log/wifidog.crontabdebug 2>&1
|     service iptables restart >> /var/log/wifidog.crontabdebug 2>&1
|     /usr/local/bin/wifidog -s >> /var/log/wifidog.crontabdebug 2>&1
| fi
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBX2hz6dZ+Kt5BchYRAprhAJwLjipc/YYps7vu6jG4VkkhDAlY9gCdFPs0
i0Jx+PQRdAT19KL7Lq4cGmg=
=4YqO
-----END PGP SIGNATURE-----


-------------- next part --------------
_______________________________________________
Wifidog mailing list
Wifidog at isf.waglo.com
http://isf.waglo.com/mailman/listinfo/wifidog_isf.waglo.com


More information about the Wifidog mailing list