summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-05-30 18:17:41 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-05-30 18:17:41 -0400
commit4aecfb7ac23ce41ff3750f5f3ae0a09d3dd18310 (patch)
treef5e8a1bd4219b7471b6a922898b7fa664dcddaff
parent76f59429cd4415ec8937883c50f8883297da938a (diff)
downloadpfsense-4aecfb7ac23ce41ff3750f5f3ae0a09d3dd18310.zip
pfsense-4aecfb7ac23ce41ff3750f5f3ae0a09d3dd18310.tar.gz
Set hostid earlier in boot
-rwxr-xr-xetc/rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc b/etc/rc
index 0c9acd1..9074e76 100755
--- a/etc/rc
+++ b/etc/rc
@@ -293,6 +293,9 @@ cap_mkdb /etc/login.conf
# /usr/local/etc/php.ini and /usr/local/lib/php.ini
. /etc/rc.php_ini_setup
+# Setup the hostid which is required for ZFS
+/etc/rc.d/hostid start
+
# let the PHP-based configuration subsystem set up the system now
echo -n "Launching PHP init system..."
rm -f /cf/conf/backup/backup.cache
@@ -306,9 +309,6 @@ if [ -f "/tmp/donotbootup" ]; then
exit 0
fi
-# Setup the hostid which is required for ZFS
-/etc/rc.d/hostid start
-
echo -n "Starting CRON... "
cd /tmp && /usr/sbin/cron -s 2>/dev/null
echo "done."
OpenPOWER on IntegriCloud