summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@gmail.com>2011-06-21 12:08:04 -0400
committerScott Ullrich <sullrich@gmail.com>2011-06-21 12:08:15 -0400
commit490615d3bc187e108cbdc8d13f30c9dda6edfbd5 (patch)
tree10c3bb2a5b70a26b700d75fa8c1a8b663237afad /etc
parentf81cbdad2989a7da6ab4725a1b249b86570a3b35 (diff)
downloadpfsense-490615d3bc187e108cbdc8d13f30c9dda6edfbd5.zip
pfsense-490615d3bc187e108cbdc8d13f30c9dda6edfbd5.tar.gz
Add custom boot early hook
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index 75fa7bf..b5a143f 100755
--- a/etc/rc
+++ b/etc/rc
@@ -359,6 +359,12 @@ if [ "$PLATFORM" = "pfSense" ]; then
/usr/local/bin/php -q /etc/ecl.php
fi
+if [ -f /etc/rc.custom_boot_early ]; then
+ /bin/echo -n "Launching /etc/rc.custom_boot_early...";
+ /etc/rc.custom_boot_early
+ echo "Done"
+fi
+
nohup /usr/bin/nice -n20 /usr/local/sbin/check_reload_status
# let the PHP-based configuration subsystem set up the system now
OpenPOWER on IntegriCloud