summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware_auto
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-07 20:21:25 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-07 20:21:25 +0000
commit7a35466cd8e09859eedb00fb42b88fedef0efa00 (patch)
tree94f2cbfbc8dba771a3852cf7db0acf0d3e53d90f /etc/rc.firmware_auto
parentab821eae68b30e4d318b5e353dd69d14e85b0d8a (diff)
downloadpfsense-7a35466cd8e09859eedb00fb42b88fedef0efa00.zip
pfsense-7a35466cd8e09859eedb00fb42b88fedef0efa00.tar.gz
if /etc/init_bootloader.sh exists, run this after upgrade. This will be the original bsdlabel command that was run.
Diffstat (limited to 'etc/rc.firmware_auto')
-rwxr-xr-xetc/rc.firmware_auto6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/rc.firmware_auto b/etc/rc.firmware_auto
index 0f34fec..23dc340 100755
--- a/etc/rc.firmware_auto
+++ b/etc/rc.firmware_auto
@@ -58,11 +58,17 @@ if [ "$PMD" = "$MD" ]; then
/bin/sync
sleep 5
/usr/local/bin/php /etc/rc.conf_mount_ro
+ if [ -e /etc/init_bootloader.sh ]; then
+ sh /etc/init_bootloader.sh
+ fi
fi
if [ "$PLATFORM" = "net45xx" ]; then
/bin/sync
sleep 5
/usr/local/bin/php /etc/rc.conf_mount_ro
+ if [ -e /etc/init_bootloader.sh ]; then
+ sh /etc/init_bootloader.sh
+ fi
fi
exit 0
fi
OpenPOWER on IntegriCloud