diff options
author | Mohit Mehta <mohit@vyatta.com> | 2011-05-11 11:34:46 -0700 |
---|---|---|
committer | Mohit Mehta <mohit@vyatta.com> | 2011-05-11 11:34:46 -0700 |
commit | 5af7edebdbb333f236ba8b2d5c8e300985113da8 (patch) | |
tree | 925875f071b942be685433b72fc60f08a3297950 /etc | |
parent | 6e90c16cdba80d3f1861e6a68ccd987b9a16090c (diff) | |
download | vyatta-cfg-5af7edebdbb333f236ba8b2d5c8e300985113da8.tar.gz vyatta-cfg-5af7edebdbb333f236ba8b2d5c8e300985113da8.zip |
Fix Bug 7012 make /config available with init-floppy
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/init.d/vyatta-router | 2 |
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 |