Files
shell_sequencer/seqs/openvpn/vpn-services

16 lines
302 B
Bash
Executable File

#!/bin/bash
# Default or unrecognized stops the listed services
serviceOp="stop"
case $1 in
start|restart|stop)
serviceOp="$1";;
*)
>&2 echo "Unrecognized argument. Stopping services"
serviceOp="stop";;
esac
#/usr/sbin/service danted $serviceOp
#/usr/sbin/service privoxy $serviceOp