diff options
-rwxr-xr-x | etc/init.d/vyatta-router | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/init.d/vyatta-router b/etc/init.d/vyatta-router index 87e96f7..4fd3f00 100755 --- a/etc/init.d/vyatta-router +++ b/etc/init.d/vyatta-router @@ -77,10 +77,11 @@ init_bootfile () { -o sync,dirsync,noexec,nodev,noatime,nodiratime,nosuid 2>/dev/null fi - [ -d /media/floppy/config ] && + if [ -d /media/floppy/config ]; then mount -o bind /media/floppy/config /opt/vyatta/etc/config mkdir -p /config mount -o bind /media/floppy/config /config + fi if [ -f $BOOTFILE ] && grep -q '/\*XORP Configuration File, v1.0\*/' \ $BOOTFILE >&/dev/null; then |