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 ce7f891..5d24f5f 100755
--- a/etc/init.d/vyatta-router
+++ b/etc/init.d/vyatta-router
@@ -120,7 +120,7 @@ bind_mount_boot ()
persist_path=`/opt/vyatta/sbin/vyos-persistpath`
if [ $? == 0 ]; then
if [ -e $persist_path/boot ]; then
- image_name=`cat /proc/cmdline | sed -e s+^.*vyatta-union=/boot/++ | sed -e 's/ .*$//'`
+ image_name=`cat /proc/cmdline | sed -e s+^.*vyos-union=/boot/++ | sed -e 's/ .*$//'`
if [ -n "$image_name" ]; then
mount --bind $persist_path/boot/$image_name /boot