summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-28 20:33:33 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-28 20:33:33 -0400
commit507960cb938bd9f5eb74b425d57f38556a1c4073 (patch)
tree8e52129329838084f83fa6e0321251f481cbd0b0 /etc
parent45c710da422d9d89c3f86d1ab149b753c1def818 (diff)
downloadpfsense-507960cb938bd9f5eb74b425d57f38556a1c4073.zip
pfsense-507960cb938bd9f5eb74b425d57f38556a1c4073.tar.gz
Copy host /etc/fstab to newly created area
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.firmware1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index 2706e51..cf9457d 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -240,6 +240,7 @@ pfSenseNanoBSDupgrade)
fi
# Update fstab
+ cp /etc/fstab /tmp/$GLABEL_SLICE/etc/fstab
sed -i "" "s/pfsense${OLD_UFS_ID}/pfsense${UFS_ID}/g" /tmp/$GLABEL_SLICE/etc/fstab
if [ $? != 0 ]; then
echo "Something went wrong when trying to update the fstab entry. Aborting upgrade."
OpenPOWER on IntegriCloud