summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-04-10 01:19:45 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-04-10 01:19:45 +0000
commit98dc9cd432cc7948fe5f24c5c67a90fd5e2576ae (patch)
treefa136a31ce0d9e56e7e26393ab7db6c06ccb3c62 /etc/rc.firmware
parent5c59c339e1fa98738f5fc84d8edcfd2322eaa4bc (diff)
downloadpfsense-98dc9cd432cc7948fe5f24c5c67a90fd5e2576ae.zip
pfsense-98dc9cd432cc7948fe5f24c5c67a90fd5e2576ae.tar.gz
bsdpatch downloaded .tgz files from the new auto upgrade system
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware7
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index dd3ec26..b513390 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -94,9 +94,12 @@ pfSenseupgrade)
/sbin/shutdown -r now
;;
pfSense)
-
+ cd /tmp/ && for i in `tar tf /tmp/latest.tgz; do (tar xvzf /tmp/latest.tgz $i; bspatch $i /i$; rm $i); done
;;
pfSense_base)
-
+ cd /tmp/ && for i in `tar tf /tmp/latest_base.tgz; do (tar xvzf /tmp/latest_base.tgz $i; bspatch $i /i$; rm $i); done
+ ;;
+pfSense_kernel)
+ cd /tmp/ && for i in `tar tf /tmp/latest_kernel.tgz; do (tar xvzf /tmp/latest_kernel.tgz $i; bspatch $i /i$; rm $i); done
;;
esac \ No newline at end of file
OpenPOWER on IntegriCloud