summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2013-11-02 22:32:56 +0100
committerDaniil Baturin <daniil@baturin.org>2013-11-02 22:32:56 +0100
commita82f1f2fa510b1feca0976ef3587bd3a3078d4da (patch)
treee25236c204d4eb41366ec7b57667e795b1f9d575
parent9c6b293e4f628757c3c297d245424bea334762f6 (diff)
downloadvyatta-cfg-a82f1f2fa510b1feca0976ef3587bd3a3078d4da.tar.gz
vyatta-cfg-a82f1f2fa510b1feca0976ef3587bd3a3078d4da.zip
Remove support for /config on punched card^W^W floppy drive
-rwxr-xr-xetc/init.d/vyatta-router17
1 files changed, 0 insertions, 17 deletions
diff --git a/etc/init.d/vyatta-router b/etc/init.d/vyatta-router
index f36620a..6aac5bc 100755
--- a/etc/init.d/vyatta-router
+++ b/etc/init.d/vyatta-router
@@ -66,23 +66,6 @@ disabled () {
# if necessary, provide initial config
init_bootfile () {
- if [ -b /dev/fd0 ] && [ ! -d /media/floppy/config ]
- then
- [ -d /media/floppy ] || mkdir -p /media/floppy
-
- # This mount will try ext2 or fat format
- # 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,dirsync,noexec,nodev,noatime,nodiratime,nosuid 2>/dev/null
- fi
-
- 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
CURTIME=$(date +%F-%H%M%S)