I am trying to run a
setpci command that enables reboot on power failure from inside grub2, just in order to be sure that this is executed as soon as posible.
The problem is that while this works without any problems when run from
rc.local, the same command put on grub does block grub from loading, and the computer remains stuck with the dark violet background of grub.
Here is how I put the setpci on grub, I added /etc/grub.d/99_apple.sh file with this content:
#!/bin/sh echo "setpci -s 00:03.0 0x7b.b=0x19"
update-grub this will add this to the end of
### BEGIN /etc/grub.d/99_apple ### setpci -s 00:03.0 0x7b.b=0x19 ### END /etc/grub.d/99_apple ###
... which seems to break grub for some reason.
That's on Ubuntu 13.10 if it matters...