diff --git a/README b/README index ccfe971..42cf9a6 100755 --- a/README +++ b/README @@ -1,34 +1,47 @@ -Thank you for choosing GamePanelX Remote! +# Thank you for choosing GamePanelX Remote! -SUPPORTED OPERATING SYSTEMS ------------------------------- -Linux: RedHat/CentOS 4.x-6.x, Debian/Ubuntu, Gentoo +### SUPPORTED OPERATING SYSTEMS -INSTALLATION ------------------------------- +Linux: RedHat/CentOS 7.x, Debian/Ubuntu, Gentoo + +> **Note:** +Centos 6 is deprecated because last update steam broke lib32 for Global-Offensive server + +### INSTALLATION + + +``` # sudo chmod u+x install.sh # sudo ./install.sh +``` This will get you started on the installation. This will also ask you if you want to install the FTP server. -UPDATE ------------------------------- +### UPDATE + + To update, run: + +``` # sudo chmod u+x update.sh # sudo ./update.sh +``` Note: To update a Remote release _older_ than 3.0.10, run: + +``` # sudo chmod u+x upgrade_309_3012.sh # sudo ./upgrade_309_3012.sh +``` +### SUPPORT/DOCUMENTATION/TUTORIALS + -SUPPORT/DOCUMENTATION/TUTORIALS -------------------------------- Website: http://gamepanelx.com/ Documentation: http://gamepanelx.com/wikiv3/index.php?title=Remote_Install Support Forums: http://gamepanelx.com/forums/ @@ -36,10 +49,12 @@ General Documentation: http://gamepanelx.com/wikiv3/ -UNINSTALL -------------------------------- +### UNINSTALL + To uninstall, this will walk you through removal. NOTE: If you answer YES to removing your GPX user, this will remove ALL gpx files including gameservers and accounts for GamePanelX Remote in /usr/local/gpx. +``` # sudo chmod u+x ./uninstall.sh # sudo ./uninstall.sh +``` \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e129863 --- /dev/null +++ b/README.md @@ -0,0 +1,60 @@ +# Thank you for choosing GamePanelX Remote! + + +### SUPPORTED OPERATING SYSTEMS + + +Linux: RedHat/CentOS 7.x, Debian/Ubuntu, Gentoo + +> **Note:** +Centos 6 is deprecated because last update steam broke lib32 for Global-Offensive server + +### INSTALLATION + + +``` +# sudo chmod u+x install.sh +# sudo ./install.sh +``` + +This will get you started on the installation. This will also ask you if you want to install the FTP server. + + + +### UPDATE + + +To update, run: + +``` +# sudo chmod u+x update.sh +# sudo ./update.sh +``` + +Note: To update a Remote release _older_ than 3.0.10, run: + +``` +# sudo chmod u+x upgrade_309_3012.sh +# sudo ./upgrade_309_3012.sh +``` + + +### SUPPORT/DOCUMENTATION/TUTORIALS + + +* [Website] (http://gamepanelx.com/) +* [Documentation] (http://gamepanelx.com/wikiv3/index.php?title=Remote_Install) +* [Support Forums] (http://gamepanelx.com/forums/) +* [General Documentation] (http://gamepanelx.com/wikiv3/) + + + +### UNINSTALL + +To uninstall, this will walk you through removal. +NOTE: If you answer YES to removing your GPX user, this will remove ALL gpx files including gameservers and accounts for GamePanelX Remote in /usr/local/gpx. + +``` +# sudo chmod u+x ./uninstall.sh +# sudo ./uninstall.sh +``` \ No newline at end of file diff --git a/bin/Restart b/bin/Restart index 7a80f25..6e62268 100755 --- a/bin/Restart +++ b/bin/Restart @@ -166,6 +166,11 @@ do screen -wipe 2>&1 >> /dev/null # Start screen + if [ -f $gpxdir/$working_dir/srcds_run ] + then + sed -i "s/\${SRCDS_DIR}/\./g" srcds_run + fi + screen -d -m -S "$srv_ip:$srv_port" $srv_cmd_line 2>&1 >> $serverlog screen_pid="$(screen -list | grep "$srv_ip:$srv_port" | awk '{print $1}' | awk -F. '{print $1}')" diff --git a/install.sh b/install.sh index ab30145..652bdb8 100755 --- a/install.sh +++ b/install.sh @@ -256,6 +256,8 @@ elif [ $os == "redhat" ]; then if [ "$(yum list installed | grep 'libgcc_s.so.1')" == "" ]; then pkg_list=$pkg_list" libgcc_s.so.1"; fi if [ "$(yum list installed | grep 'libgcc.i686')" == "" ]; then pkg_list=$pkg_list" libgcc.i686"; fi if [ "$(yum list installed | grep 'java-')" == "" ]; then pkg_list=$pkg_list" java"; fi + if [ "$(yum list installed | grep 'wget')" == "" ]; then pkg_list=$pkg_list" wget"; fi + if [ "$(yum list installed | grep 'net-tools')" == "" ]; then pkg_list=$pkg_list" net-tools"; fi if [ "$pkg_list" ]; then echo