summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-28 18:33:21 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-28 18:33:21 -0400
commit8eaa995774e531c863337011ab38695afe8efb6d (patch)
tree1e812f0b3789e5630f17a7e80b28e620d26e8703 /etc/rc.firmware
parent6252017131a6cb3d3b8c447487178572d00397b5 (diff)
downloadpfsense-8eaa995774e531c863337011ab38695afe8efb6d.zip
pfsense-8eaa995774e531c863337011ab38695afe8efb6d.tar.gz
Use GLABEL_SLICE
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware6
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
OpenPOWER on IntegriCloud