From 17d411193f940b6d124dbc3744a43081dfa44e93 Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" <148610067+eshanized@users.noreply.github.com> Date: Sun, 25 Feb 2024 16:44:45 +0530 Subject: [PATCH] add -f grub.d --- archiso/airootfs/etc/grub.d/40_custom | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 archiso/airootfs/etc/grub.d/40_custom diff --git a/archiso/airootfs/etc/grub.d/40_custom b/archiso/airootfs/etc/grub.d/40_custom new file mode 100755 index 0000000..9e9c4ce --- /dev/null +++ b/archiso/airootfs/etc/grub.d/40_custom @@ -0,0 +1,18 @@ +#!/bin/sh +#thank you Garuda team +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. + +menuentry "Restart" --class restart { + echo "System rebooting..." + reboot +} + +menuentry "Shutdown" --class shutdown { + echo "System shutting down..." + halt +} + +