scripts

random scripts
git clone https://git.parazyd.org/scripts
Log | Files | Refs

net (122B)


      1 #!/bin/sh
      2 
      3 case "$2" in
      4 	stop|start) act="$2" ;;
      5 	restart) act=restart ;;
      6 	*) exit 1 ;;
      7 esac
      8 
      9 /etc/init.d/net."$1" "$act"