Advertisement
Guest User

Unturned installation start & update

a guest
Sep 24th, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.38 KB | None | 0 0
  1. #!/bin/bash
  2. if [ "$1" ==  "start" ]
  3. then
  4.  
  5.   #Demarrage du serveur
  6.   cd /home/steam/UNTURNED
  7.   ./Unturned.x86_64 -nographics -pei -normal -nosync -pve -players:16 -sv
  8.  
  9. fi
  10.  
  11. if [ "$1" == "update" ]
  12. then
  13.  
  14.   #Installation / Mise a jour du serveur
  15.     cd /home/steam/steamcmd
  16.     ./steamcmd.sh +login anonymous +force_install_dir /home/steam/UNTURNED +app_update 304930 -validate
  17.  
  18. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement