Add support for other inits.

Suggested by https://git.yiffing.dev/xan
This commit is contained in:
theridev 2024-12-14 17:53:49 +01:00
parent 8842996248
commit a331217164

4
nyaoff
View file

@ -27,10 +27,10 @@ echo # sexy echo command
# check which input the cutie entered :3
if [[ $INPUT == "1" ]]; then
echo -e "${PURPLE}meow~ Putting ur lil pc to sleep...${PINK}"
systemctl shutdown # eep
shutdown -h now # eep
elif [[ $INPUT == "2" ]]; then
echo -e "${GREEN}Nyaa~ Rebwooting machine... See ya :D ${PINK}"
systemctl reboot # reboowting
shutdown -r now # reboowting
else # oopsie
echo -e "${RED}Oopsie~ Invalid input. Nya, try again later!${PINK}"
fi