From 71c5e4bf728e36636e92692049831767aa8f889c Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Tue, 29 Jun 2010 17:44:52 -0700 Subject: Don't let bind mount of /boot happen on livecd. --- etc/init.d/vyatta-router | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/init.d/vyatta-router') 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 -- cgit v1.2.3