Config : Systemd menu
This commit is contained in:
parent
2d002dc61e
commit
a29a20983f
1 changed files with 6 additions and 6 deletions
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue