summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohit Mehta <mohit@vyatta.com>2011-05-11 11:34:46 -0700
committerMohit Mehta <mohit@vyatta.com>2011-05-11 11:34:46 -0700
commit5af7edebdbb333f236ba8b2d5c8e300985113da8 (patch)
tree925875f071b942be685433b72fc60f08a3297950
parent6e90c16cdba80d3f1861e6a68ccd987b9a16090c (diff)
downloadvyatta-cfg-5af7edebdbb333f236ba8b2d5c8e300985113da8.tar.gz
vyatta-cfg-5af7edebdbb333f236ba8b2d5c8e300985113da8.zip
Fix Bug 7012 make /config available with init-floppy
-rwxr-xr-xetc/init.d/vyatta-router2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/init.d/vyatta-router b/etc/init.d/vyatta-router
index bccd7b7..c9b9786 100755
--- a/etc/init.d/vyatta-router
+++ b/etc/init.d/vyatta-router
@@ -79,6 +79,8 @@ init_bootfile () {
[ -d /media/floppy/config ] &&
mount -o bind /media/floppy/config /opt/vyatta/etc/config
+ mkdir -p /config
+ mount -o bind /media/floppy/config /config
if [ -f $BOOTFILE ] && grep -q '/\*XORP Configuration File, v1.0\*/' \
$BOOTFILE >&/dev/null; then