Files
compass-adapters/cobbler/snippets/save_boot_device
Weidong Shao 7d1e1fb149 Initial commit
2013-12-12 01:33:01 +00:00

6 lines
206 B
Plaintext

if [ "$os_version" == "sles11" ]; then
nvram --print-config=boot-device > /root/boot-device.bak
elif [ "$os_version" == "fedora17" ]; then
nvram --print-config=boot-device > /tmp/boot-device.bak
fi