diff options
author | rbalocca <rbalocca@vyatta.com> | 2008-07-07 17:00:55 -0700 |
---|---|---|
committer | rbalocca <rbalocca@vyatta.com> | 2008-07-07 17:00:55 -0700 |
commit | 1277a4a911cf39e0e2200eea8ecbd483d1610f2f (patch) | |
tree | a773f2fc1e13b29167157ebd985476875ced5afd /etc | |
parent | 9178dcb68c092976f9bed29c13dbd70cb26de3a1 (diff) | |
download | vyatta-cfg-1277a4a911cf39e0e2200eea8ecbd483d1610f2f.tar.gz vyatta-cfg-1277a4a911cf39e0e2200eea8ecbd483d1610f2f.zip |
Fix for bug http://bugzilla.vyatta.com/show_bug.cgi?id=3427
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 $? } |