summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/init.d/vyatta-ofr4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/init.d/vyatta-ofr b/etc/init.d/vyatta-ofr
index ac8d861..ba972eb 100755
--- a/etc/init.d/vyatta-ofr
+++ b/etc/init.d/vyatta-ofr
@@ -67,7 +67,7 @@ have_rl_system () {
# if necessary, provide initial config
init_bootfile () {
- if [ ! -d /media/floppy/config -a -b /dev/fd0 ]
+ if [ -b /dev/fd0 ] && [ ! -d /media/floppy/config ]
then
[ -d /media/floppy ] || mkdir -p /media/floppy
@@ -75,7 +75,7 @@ init_bootfile () {
# and it will fail if no floppy present
# Note: no good way to test for floppy present without causing I/O error
mount /dev/fd0 /media/floppy \
- -o sync,noexec,nodev,noatime,nosuid 2>/dev/null
+ -o sync,dirsync,noexec,nodev,noatime,nodiratime,nosuid 2>/dev/null
fi
[ -d /media/floppy/config ] &&