diff options
-rwxr-xr-x | syssrv | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -1,12 +0,0 @@ -#! /bin/sh - -if [ $# -lt 2 ]; then - echo "usage: $0 on|off service" && exit 1 -fi -if [ "$1" = "on" ]; then - systemctl start $2.service -elif [ "$1" = "off" ]; then - systemctl stop $2.service -else - echo "usage: $0 on|off service" && exit 1 -fi |