From 2e45724431c63a278f5343a8987c4edd15cb7322 Mon Sep 17 00:00:00 2001 From: Bill Peck Date: Tue, 22 Sep 2015 14:02:49 -0400 Subject: make rc.local executable --- firmware/amd_seattle/runtest.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/firmware/amd_seattle/runtest.sh b/firmware/amd_seattle/runtest.sh index bfcbc6e..457d257 100755 --- a/firmware/amd_seattle/runtest.sh +++ b/firmware/amd_seattle/runtest.sh @@ -13,8 +13,9 @@ reboot_to_efi_shell() { # This job will end up aborting.. Next time the system is power cycled # we will boot from the wrong device. restore the correct boot order and # reboot again. - echo "efibootmgr -o $bootorder" >> /etc/rc.local - echo "reboot" >> /etc/rc.local + echo "efibootmgr -o $bootorder" >> /etc/rc.d/rc.local + echo "reboot" >> /etc/rc.d/rc.local + chmod +x /etc/rc.d/rc.local efishell=$(efibootmgr | grep 'Built-in EFI Shell' | cut -c5-8 | head -n 1) # set next boot to efi shell efibootmgr -n $efishell -- cgit