summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-12-23 01:36:05 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-12-23 01:36:05 +0000
commit0064a53428fec6f994072244e5babe7e1abed2c5 (patch)
tree68ad249403277ceb28504c01b8b65fe3da2708d4 /etc/rc
parentec9e5b7b7ac26b7f7ae7da4e0361330762f60384 (diff)
downloadpfsense-0064a53428fec6f994072244e5babe7e1abed2c5.zip
pfsense-0064a53428fec6f994072244e5babe7e1abed2c5.tar.gz
Regardless of the fact that we are telling dhclient that it's script is /sbin/dhclient-script it wants to run /usr/local/sbin/dhclient-script to symlink on bootup this file if needed.
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index 6c29501..3b17ed5 100755
--- a/etc/rc
+++ b/etc/rc
@@ -116,6 +116,10 @@ if [ ! -L /etc/sasyncd.conf ]; then
chmod 0600 /var/etc/sasyncd.conf
fi
+if [ ! -L /usr/local/sbin/dhclient-script ]; then
+ ln -s /sbin/dhclient-script /usr/local/sbin/dhclient-script
+fi
+
[ ! -d /var/tmp ] || mkdir -p /var/tmp 2>/dev/null
[ ! -d /cf/conf/backup/ ] || mkdir -p /cf/conf/backup/ 2>/dev/null
OpenPOWER on IntegriCloud