summaryrefslogtreecommitdiff
path: root/etc/init.d/vyatta-router
diff options
context:
space:
mode:
Diffstat (limited to 'etc/init.d/vyatta-router')
-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