From 804217d9beeb4d8b3af96feed24f0611b2122a8e Mon Sep 17 00:00:00 2001 From: eshanized Date: Wed, 1 Jan 2025 03:47:48 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20add=20menu=20entry=20in?= =?UTF-8?q?=20grub?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archiso/airootfs/etc/grub.d/40_custom | 17 +++++++++++++++++ 1 file changed, 17 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..dc613dc --- /dev/null +++ b/archiso/airootfs/etc/grub.d/40_custom @@ -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 +}