diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-10-23 00:16:39 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-10-23 00:16:39 +0000 |
commit | 8ab76dbc443db3b9327b6ba4f5aff6ee55f51094 (patch) | |
tree | 791d0210b0651888df61339d17714a2aaed4180e /sbin | |
parent | fe5869e43e9351b5f5131e0304a8c5ce3aaf4061 (diff) | |
download | pfsense-8ab76dbc443db3b9327b6ba4f5aff6ee55f51094.zip pfsense-8ab76dbc443db3b9327b6ba4f5aff6ee55f51094.tar.gz |
Woops, log an error to system logs when we restart check_reload_status from dhclient-script instead of simply echoing out where someone may not even see it.
Diffstat (limited to 'sbin')
-rwxr-xr-x | sbin/dhclient-script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script index 2197c8a..ac47478 100755 --- a/sbin/dhclient-script +++ b/sbin/dhclient-script @@ -33,7 +33,7 @@ LOCALHOST=127.0.0.1 # Ensure check_reload_status is running at all times. PS_COUNT=`ps awux | grep -v grep | grep check_reload_status | wc -l` if [ $PS_COUNT -lt 1 ]; then - echo "Launching check_reload_status" + echo "check_reload_status not running, restarting." | logger -p daemon.info -i -t dhclient-script /usr/bin/nice -n20 /usr/local/sbin/check_reload_status 2>/dev/null fi |