summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-10-28 02:08:55 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-10-28 02:08:55 +0000
commita85d0fa00c5e213ae24da8c7b0aa9e0f8e0967b7 (patch)
treee66c5766fc93d51dcd8db4e12b832ff059241323 /sbin
parent16403b3ab4c8beb32bbda1f764c49eccf9799fe5 (diff)
downloadpfsense-a85d0fa00c5e213ae24da8c7b0aa9e0f8e0967b7.zip
pfsense-a85d0fa00c5e213ae24da8c7b0aa9e0f8e0967b7.tar.gz
back out recent change.
Diffstat (limited to 'sbin')
-rwxr-xr-xsbin/dhclient-script11
1 files changed, 6 insertions, 5 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script
index ac47478..de0fc55 100755
--- a/sbin/dhclient-script
+++ b/sbin/dhclient-script
@@ -30,12 +30,13 @@ IFCONFIG=/sbin/ifconfig
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 "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
+#PS_COUNT=`ps awux | grep -v grep | grep check_reload_status | wc -l`
+#if [ $PS_COUNT -lt 1 ]; then
+# 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
if [ -x /usr/bin/logger ]; then
LOGGER="/usr/bin/logger -s -p user.notice -t dhclient"
OpenPOWER on IntegriCloud