Changeset 17
- Timestamp:
- May 21, 2014, 6:31:05 PM (10 years ago)
- Location:
- scripts
- Files:
-
- 16 added
- 7 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/etc/7dtd.conf
r10 r17 1 1 #!/bin/sh 2 # Version 12 # Version 4 3 3 4 4 # Root directory where steamcmd should be placed … … 7 7 export STEAM_PASS= 8 8 9 # Root directory of the engine 10 export SDTD_ROOT=/home/sdtd/7dtd 11 12 # Root of the 7dtd folders, containing e.g. the "instances" folder 9 # Root of the 7dtd folders, containing e.g. the "engine", "instances" folders 13 10 export SDTD_BASE=/home/sdtd 14 11 … … 21 18 22 19 # Paths to binaries. Use "which BINARYNAME" to find the path of a single binary 23 export CP=/bin/cp24 20 export RSYNC=/usr/bin/rsync 25 export DU=/usr/bin/du26 export FREE=/usr/bin/free27 export AWK=/usr/bin/awk28 export PIDOF=/bin/pidof29 21 export WINE=/usr/bin/wine 22 export XMLSTARLET=/usr/bin/xmlstarlet -
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.