Changeset 17 for scripts/etc/init.d/7dtd.sh
- Timestamp:
- May 21, 2014, 6:31:05 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/etc/init.d/7dtd.sh
r15 r17 1 1 #!/bin/sh 2 # Version 32 # Version 4 3 3 4 4 ### BEGIN INIT INFO … … 14 14 ### END INIT INFO 15 15 16 . /usr/local/bin/7dtd-common.sh17 checkRootLoadConf18 19 16 case "$1" in 20 17 start) 21 echo "Starting all 7dtd instances:" 22 for I in $(getInstanceList); do 23 echo "Starting: $I" 24 /usr/local/bin/7dtd-start.sh $I 25 done 26 echo "All done" 18 /usr/local/bin/7dtd.sh start "!" 27 19 ;; 28 20 stop) 29 echo "Stopping all 7dtd instances:" 30 for I in $(getInstanceList); do 31 echo "Stopping: $I" 32 /usr/local/bin/7dtd-kill.sh $I 33 echo 34 echo 35 done 36 echo "All done" 21 /usr/local/bin/7dtd.sh kill "!" 37 22 ;; 38 23 status) 39 /usr/local/bin/7dtd-instances.sh24 /usr/local/bin/7dtd.sh instances 40 25 ;; 41 26 *)
Note:
See TracChangeset
for help on using the changeset viewer.