summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware_auto
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.firmware_auto')
-rwxr-xr-xetc/rc.firmware_auto9
1 files changed, 8 insertions, 1 deletions
diff --git a/etc/rc.firmware_auto b/etc/rc.firmware_auto
index b96a837..be5da91 100755
--- a/etc/rc.firmware_auto
+++ b/etc/rc.firmware_auto
@@ -52,10 +52,17 @@ if [ "$PMD" = "$MD" ]; then
if [ "$PLATFORM" = "wrap" ]; then
/usr/local/bin/php /etc/rc.conf_mount_rw
fi
+ if [ "$PLATFORM" = "nanobsd" ]; then
+ /usr/local/bin/php /etc/rc.conf_mount_rw
+ fi
if [ -r "/tmp/custom.tgz" ]; then
sh /etc/rc.firmware pfSenseupgrade /tmp/latest.tgz /tmp/custom.tgz
else
- sh /etc/rc.firmware pfSenseupgrade /tmp/latest.tgz
+ if [ "$PLATFORM" = "nanobsd" ]; then
+ sh /etc/rc.firmware pfSenseNanoBSDupgrade /tmp/latest.tgz
+ else
+ sh /etc/rc.firmware pfSenseupgrade /tmp/latest.tgz
+ fi
fi
if [ "$PLATFORM" = "wrap" ]; then
/bin/sync
OpenPOWER on IntegriCloud