summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2010-06-29 17:44:52 -0700
committerBob Gilligan <gilligan@vyatta.com>2010-06-29 17:44:52 -0700
commit71c5e4bf728e36636e92692049831767aa8f889c (patch)
treeaafcc9aecec873bea0b5f8572fbbfc39514ec3b7 /etc
parent80c6e378459254c776ee87af2a1b042a28cf3d90 (diff)
downloadvyatta-cfg-71c5e4bf728e36636e92692049831767aa8f889c.tar.gz
vyatta-cfg-71c5e4bf728e36636e92692049831767aa8f889c.zip
Don't let bind mount of /boot happen on livecd.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/init.d/vyatta-router2
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