diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-06-26 01:09:06 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-06-26 01:09:06 -0400 |
commit | baabd21dba8ff5ff125b329d4a9e0fddc5d2b572 (patch) | |
tree | b4b40838dc571d48bb3f11ae25368bbe9d1fbc66 | |
parent | cba6ac91c8a8582d297dc9449ea7e0881ff02bbe (diff) | |
download | pfsense-baabd21dba8ff5ff125b329d4a9e0fddc5d2b572.zip pfsense-baabd21dba8ff5ff125b329d4a9e0fddc5d2b572.tar.gz |
No need to remove firmware.lock twice
-rwxr-xr-x | etc/rc.firmware | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware index ef3c766..1b88aa1 100755 --- a/etc/rc.firmware +++ b/etc/rc.firmware @@ -213,8 +213,8 @@ ENDOFF mkdir /tmp/$TOFLASH mount /dev/ufs/$TOFLASH /tmp/$TOFLASH - # If /tmp/post_upgrade_command exists after update - # then execute the command. + # If /tmp/$TOFLASH/tmp/post_upgrade_command exists + # after update then execute the command. if [ -f /tmp/$TOFLASH/tmp/post_upgrade_command ]; then sh /tmp/$TOFLASH/tmp/post_upgrade_command fi @@ -231,7 +231,6 @@ ENDOFF /bin/sync echo "Done." | logger -p daemon.info -i -t Upgrade - rm -f /var/run/config.lock sh /etc/rc.reboot ;; |