summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2016-02-05 12:19:18 -0500
committerKim Hagen <kim.sidney@gmail.com>2016-02-05 12:19:18 -0500
commit184ca4e9e11023f5c99fa8bb6b6063ce29f9fea3 (patch)
treee1e96cbe0c03c770ea41c11569e6ab7a2e6f061f /scripts
parent0d7e6ac3ff336bee96c2a235ae442cb1c8099735 (diff)
downloadvyatta-cfg-system-184ca4e9e11023f5c99fa8bb6b6063ce29f9fea3.tar.gz
vyatta-cfg-system-184ca4e9e11023f5c99fa8bb6b6063ce29f9fea3.zip
Do not create persistent fstab, this will interfere with systemd.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install/install-image-existing8
1 files changed, 0 insertions, 8 deletions
diff --git a/scripts/install/install-image-existing b/scripts/install/install-image-existing
index 4c6b601b..62e73882 100755
--- a/scripts/install/install-image-existing
+++ b/scripts/install/install-image-existing
@@ -191,14 +191,6 @@ if ! try_mount "$margs"; then
failure_exit 'Failed to set up root directory for postinst.'
fi
-# set up /var/run fstab entry
-PI_FSTAB=$INST_ROOT/etc/fstab
-if ! grep -q 'tmpfs /var/run ' $PI_FSTAB >&/dev/null; then
- # replace the fstab. the default one has header that will cause
- # it to be wiped out on live boot.
- echo 'tmpfs /var/run tmpfs nosuid,nodev 0 0' >$PI_FSTAB
-fi
-
#
# Check to make sure we have enough space to copy the config and data dirs...
#