summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-06 10:38:50 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-06 10:38:50 -0700
commitd903728c5a57cdd87617fbfd84ef9cdf7ed96fba (patch)
tree87baa0a7970cb1721236e6213aaeb548331fe74a /scripts
parentebc67a971d0afab5387f29cb8e693afe64d399a5 (diff)
downloadvyatta-cfg-system-d903728c5a57cdd87617fbfd84ef9cdf7ed96fba.tar.gz
vyatta-cfg-system-d903728c5a57cdd87617fbfd84ef9cdf7ed96fba.zip
Don't need explict sync in init-floppy
The sync call was added to try and workaround floppy bug, but it didn't do anything so remove it. File is already saved with fsync.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/init-floppy3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/init-floppy b/scripts/init-floppy
index a3f29c11..1685a464 100755
--- a/scripts/init-floppy
+++ b/scripts/init-floppy
@@ -89,7 +89,7 @@ echo "$create_notice"
failure "$create__error"
echo "$mount__notice"
-/bin/mount /dev/fd0 $fd -t ext2 -o sync,dirsync,noatime,noexec,nosuid,nodev &>/dev/null || \
+/bin/mount /dev/fd0 $fd -t ext2 -o sync,noatime,noexec,nosuid,nodev &>/dev/null || \
failure "$mount___error"
/bin/mkdir $fd/config
@@ -98,7 +98,6 @@ echo "$mount__notice"
echo "$config_notice"
${vyatta_sbindir}/vyatta-save-config.pl $fd/config/config.boot &>/dev/null || \
failure "$config__error"
-/bin/sync
echo "$bind___notice"
/bin/mount -o bind $fd/config ${vyatta_sysconfdir}/config &>/dev/null || \