19 lines
490 B
Bash
Executable File
19 lines
490 B
Bash
Executable File
#!/bin/sh
|
|
|
|
dialog --colors --keep-tite --no-shadow --no-mouse \
|
|
--backtitle "\Zb\Z7Peppermintos installation -- https://peppermintos.com/\Zn" \
|
|
--cancel-label "Reboot" --aspect 20 \
|
|
--menu "Select an Action:" 10 50 2 \
|
|
"Install" "Run pep-installer" \
|
|
"Shell" "Run dash" \
|
|
2>/tmp/netmenu.action
|
|
|
|
if [ ! $? ] ; then
|
|
reboot -f
|
|
fi
|
|
|
|
case $(cat /tmp/netmenu.action) in
|
|
"Install") /usr/bin/void-installer ; exec sh ;;
|
|
"Shell") exec sh ;;
|
|
esac
|