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 . ./lib
options=() options=()
options+=("Enable" "") options+=("Enable" "systemctl enable")
options+=("Disable" "") options+=("Disable" "systemctl disable")
options+=("" "") #options+=("" "")
options+=("Restart" "(Experimental)") #options+=("Restart" "(Experimental)")
options+=("Start" "(Experimental)") #options+=("Start" "(Experimental)")
options+=("Stop" "(Experimental)") #options+=("Stop" "(Experimental)")
defaultitem="Enable" defaultitem="Enable"
sel=$(whiptail --backtitle "$apptitle" --title "Systemd services Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \ sel=$(whiptail --backtitle "$apptitle" --title "Systemd services Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \