diff options
author | Bill Peck <bpeck@redhat.com> | 2015-09-22 14:02:49 -0400 |
---|---|---|
committer | Bill Peck <bpeck@redhat.com> | 2015-09-22 14:02:49 -0400 |
commit | 2e45724431c63a278f5343a8987c4edd15cb7322 (patch) | |
tree | 2f07a19dc9707d75cac8f5c766bd955896b3571f | |
parent | 2be4d09c7a14a7d13afb826bd9a92e6fc40eaab9 (diff) | |
download | tests-2e45724431c63a278f5343a8987c4edd15cb7322.tar.gz tests-2e45724431c63a278f5343a8987c4edd15cb7322.tar.xz tests-2e45724431c63a278f5343a8987c4edd15cb7322.zip |
make rc.local executable
-rwxr-xr-x | firmware/amd_seattle/runtest.sh | 5 |
1 files 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 |