sl.Home | sl.Search | sl.Forum | sl.Settings | sl.Serverlist | sl.Maplist | sl.Team | sl.Wiki |
Wanted linux Startscript, root start a script for a user |
Apr 3 2012, 07:22 PM
Post
#1
|
|
Corporal Group: Members Joined: 13-January 12 From: 59821 Arnsberg Member No.: 125813 |
QUELLTEXT #!/bin/sh
#created by Fr3chD8chs su server1 echo "angemeldet als server1" wait 5 cd "/home/server1/enemy-territory/" echo "ins Homevezeichnis gewechselt" wait 5 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. exec ./etded.x86 "$@" +set net_ip xxx.xxx.xxx.xxx +set net_port 279xx +set fs_game nitmod +exec server.cfg & exit echo "Et-Server server1 gestartet" wait 5 su server2 echo "angemeldet als server2" wait 5 cd "/home/server2/enemy-territory/" echo "ins Homevezeichnis gewechselt" wait 5 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. exec ./etded.x86 "$@" +set net_ip xxx.xxx.xxx.xxx +set net_port 279xx +set fs_game nitmod +exec server.cfg & exit echo "Et-Server server2 gestartet" wait 5 su server3 echo "angemeldet als server3" wait 5 cd "/home/server3/enemy-territory/" echo "ins Homevezeichnis gewechselt" wait 5 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. exec ./etded.x86 "$@" +set net_ip xxx.xxx.xxx.xxx +set net_port 279xx +set fs_game nitmod +exec server.cfg & exit echo "Et-Server server3 gestartet" wait 5 su server4 echo "angemeldet als server4" wait 5 cd "/home/server4/enemy-territory/" echo "ins Homevezeichnis gewechselt" wait 5 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. exec ./etded.x86 "$@" +set net_ip xxx.xxx.xxx.xxx +set net_port 279xx +set fs_game nitmod +exec server.cfg & exit echo "Et-Server server4 gestartet" wait 5 echo "Et-Server server4 gestartet" wait 5 echo "Viel Spass beim Spielen" |
|
|
Lo-Fi Version | Time is now: 25th November 2024 - 01:13 PM |