diff options
-rwxr-xr-x | etc/rc.firmware | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware index 9249519..0270e79 100755 --- a/etc/rc.firmware +++ b/etc/rc.firmware @@ -121,10 +121,6 @@ upgrade) /bin/sync sleep 5 - # remount /cf ro - /sbin/umount -f /cf - /sbin/mount -r /cf - echo "Done." sh /etc/rc.reboot ;; @@ -183,11 +179,6 @@ pfSenseupgrade) # remount /cf ro /bin/sync - /etc/rc.conf_mount_rw - /sbin/umount -f /cf 2>/dev/null - /sbin/mount -r /cf 2>/dev/null - /sbin/umount -f / 2>/dev/null - /sbin/mount -r / 2>/dev/null echo "Done." | logger -p daemon.info -i -t Upgrade sh /etc/rc.reboot @@ -204,3 +195,9 @@ rm -rf /etc/rc.conf rm -rf /etc/motd find / -name CVS -type d -exec rm {} \; rm -rf /usr/savecore/* + +/etc/rc.conf_mount_ro +/sbin/umount -f /cf 2>/dev/null +/sbin/mount -r /cf 2>/dev/null +/sbin/umount -f / 2>/dev/null +/sbin/mount -r / 2>/dev/null |