diff options
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/init.d/vyatta-ofr | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/init.d/vyatta-ofr b/etc/init.d/vyatta-ofr index 104903e..92acf45 100755 --- a/etc/init.d/vyatta-ofr +++ b/etc/init.d/vyatta-ofr @@ -118,6 +118,12 @@ start () done load_bootfile chmod g-w,o-w / + + ( [ -s /boot/grub/menu.lst ] && + upgrade-from-grub-legacy && + rm -f /boot/grub/menu.lst* + ) || true + log_end_msg $? } |