summaryrefslogtreecommitdiff
path: root/scripts/vyatta-update-grub.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyatta-update-grub.pl')
-rwxr-xr-xscripts/vyatta-update-grub.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-update-grub.pl b/scripts/vyatta-update-grub.pl
index a9e646ed..e4110ee0 100755
--- a/scripts/vyatta-update-grub.pl
+++ b/scripts/vyatta-update-grub.pl
@@ -25,7 +25,7 @@ use warnings;
use Getopt::Long;
use File::Temp qw/ :mktemp /;
-my $UNION_BOOT_DIR = '/live/image/boot';
+my $UNION_BOOT_DIR = `/opt/vyatta/sbin/vyos-persistpath` . '/boot';
my $UNION_GRUB_CFG_DIR = "$UNION_BOOT_DIR/grub";
my $DISK_BOOT_DIR = '/boot';
my $DISK_GRUB_CFG_DIR= '/boot/grub';