pentest-distro-builder/filesystem/bin/menu
Kaj Forney 6a02a17902 Initial commit.
Former-commit-id: e62f136f3677cb73bfa2d22f9ff10e8c0745bcc3
2018-09-05 17:06:30 -06:00

34 lines
720 B
Text
Executable file

!/bin/bash
# init
function pause(){
echo 'Press any key to continue...'; read -p "$*"
}
clear
input="/bin/menu.txt"
while IFS= read -r var
do
echo "$var"
done < "$input"
echo ' Eneter item to complete';read option
case "$option" in
1) lsblk
pause;;
2) df -h
pause;;
3) apt update
pause;;
4) apt upgrade -y
pause;;
5) gsettings set org.gnome.desktop.interface scaling-factor 1
pause;;
6) gsettings set org.gnome.desktop.interface scaling-factor 2
pause;;
7) gsettings set org.gnome.desktop.interface scaling-factor 3
pause;;
8) gsettings set org.gnome.desktop.interface scaling-factor 4
pause;;
0) exit ;;
esac
menu