+ restart cmd
This commit is contained in:
@@ -75,6 +75,13 @@ backupDeploy() {
|
||||
pkill nwg-panel > /dev/null 2>&1
|
||||
nwg-panel > /dev/null 2>&1 &
|
||||
|
||||
elif [[ "${operation}" == "restart" ]]; then
|
||||
|
||||
echo "restarting nwg-panel..."
|
||||
|
||||
pkill nwg-panel > /dev/null 2>&1
|
||||
nwg-panel > /dev/null 2>&1 &
|
||||
|
||||
else
|
||||
|
||||
echo "error: unknown operation '${operation}'"
|
||||
|
||||
Reference in New Issue
Block a user