Config : Systemd menu

This commit is contained in:
MatMoul 2018-09-16 03:23:33 +02:00
parent 2d002dc61e
commit a29a20983f

View file

@ -2,12 +2,12 @@
. ./lib
options=()
options+=("Enable" "")
options+=("Disable" "")
options+=("" "")
options+=("Restart" "(Experimental)")
options+=("Start" "(Experimental)")
options+=("Stop" "(Experimental)")
options+=("Enable" "systemctl enable")
options+=("Disable" "systemctl disable")
#options+=("" "")
#options+=("Restart" "(Experimental)")
#options+=("Start" "(Experimental)")
#options+=("Stop" "(Experimental)")
defaultitem="Enable"
sel=$(whiptail --backtitle "$apptitle" --title "Systemd services Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \