3 local loader=$(sudo detectloader -q)
6 '-n[No immediate reboot just set the flags for next reboot.]' \
7 '-f[Create a /fastboot file to reboot in fastboot mode]' \
8 '*::arguments:->loader_entry'
15 if [ -r /boot/grub/menu.lst ];then
16 compadd ${${(M)${(f)"$(</boot/grub/menu.lst)"}##title *}#title }
20 if [ -r /etc/lilo.conf ];then
21 compadd $(awk -F= '{ if ($0 ~ /label=/) print $2 }' /etc/lilo.conf)