mirror of
https://github.com/Snigdha-OS/snigdhaos-archiso.git
synced 2025-09-07 13:15:14 +02:00
🐛 fix: add menu entry in grub
This commit is contained in:
17
archiso/airootfs/etc/grub.d/40_custom
Executable file
17
archiso/airootfs/etc/grub.d/40_custom
Executable file
@@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
exec tail -n +3 $0
|
||||||
|
# This file provides an easy way to add custom menu entries. Simply type the
|
||||||
|
# menu entries you want to add after this comment. Be careful not to change
|
||||||
|
# the 'exec tail' line above.
|
||||||
|
|
||||||
|
# Credit : Grauda Linux
|
||||||
|
|
||||||
|
menuentry "Restart" --class restart {
|
||||||
|
echo "System rebooting..."
|
||||||
|
reboot
|
||||||
|
}
|
||||||
|
|
||||||
|
menuentry "Shutdown" --class shutdown {
|
||||||
|
echo "System shutting down..."
|
||||||
|
halt
|
||||||
|
}
|
Reference in New Issue
Block a user