diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-06-28 18:33:21 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-06-28 18:33:21 -0400 |
commit | 8eaa995774e531c863337011ab38695afe8efb6d (patch) | |
tree | 1e812f0b3789e5630f17a7e80b28e620d26e8703 | |
parent | 6252017131a6cb3d3b8c447487178572d00397b5 (diff) | |
download | pfsense-8eaa995774e531c863337011ab38695afe8efb6d.zip pfsense-8eaa995774e531c863337011ab38695afe8efb6d.tar.gz |
Use GLABEL_SLICE
-rwxr-xr-x | etc/rc.firmware | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware index 8340f8a..936325c 100755 --- a/etc/rc.firmware +++ b/etc/rc.firmware @@ -243,10 +243,10 @@ pfSenseNanoBSDupgrade) mkdir /tmp/$GLABEL_SLICE mount /dev/ufs/$GLABEL_SLICE /tmp/$GLABEL_SLICE - # If /tmp/$TOFLASH/tmp/post_upgrade_command exists + # If /tmp/$GLABEL_SLICE/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 >> /cf/upgrade_log.txt 2>&1 + if [ -f /tmp/$GLABEL_SLICE/tmp/post_upgrade_command ]; then + sh /tmp/$GLABEL_SLICE/tmp/post_upgrade_command >> /cf/upgrade_log.txt 2>&1 fi # Update fstab |