summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware_auto
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-07-05 20:13:23 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-07-05 20:13:23 -0400
commit585fafb26e4819f0a6c4ebaff2650d0937bf9d43 (patch)
tree34f62261694b55e84277d997f7174b13cd121905 /etc/rc.firmware_auto
parent3c043ca0ae17f05132ea612c199d09a15f93615c (diff)
downloadpfsense-585fafb26e4819f0a6c4ebaff2650d0937bf9d43.zip
pfsense-585fafb26e4819f0a6c4ebaff2650d0937bf9d43.tar.gz
Add NanoBSD support
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