diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2010-06-29 17:44:52 -0700 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2010-06-29 17:44:52 -0700 |
commit | 71c5e4bf728e36636e92692049831767aa8f889c (patch) | |
tree | aafcc9aecec873bea0b5f8572fbbfc39514ec3b7 /etc | |
parent | 80c6e378459254c776ee87af2a1b042a28cf3d90 (diff) | |
download | vyatta-cfg-71c5e4bf728e36636e92692049831767aa8f889c.tar.gz vyatta-cfg-71c5e4bf728e36636e92692049831767aa8f889c.zip |
Don't let bind mount of /boot happen on livecd.
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/init.d/vyatta-router | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/init.d/vyatta-router b/etc/init.d/vyatta-router index a108cec..d355ca3 100755 --- a/etc/init.d/vyatta-router +++ b/etc/init.d/vyatta-router @@ -162,7 +162,7 @@ load_acpi_cpufreq() # bind_mount_boot() { - if [ -e /live/image ]; then + if [ -e /live/image/boot ]; then image_name=`cat /proc/cmdline | sed -e s+^.*vyatta-union=/boot/++ | sed -e 's/ .*$//'` if [ -n "$image_name" ]; then mount --bind /live/image/boot/$image_name /boot |