Changeset 258 for scripts/usr/local
- Timestamp:
- Feb 16, 2016, 8:41:19 PM (10 years ago)
- Location:
- scripts/usr/local
- Files:
- 
      - 1 added
- 15 edited
 
 - 
          
  bin/7dtd.sh (modified) (1 diff)
- 
          
  lib/7dtd/LICENSE.txt (added)
- 
          
  lib/7dtd/commands/about.sh (modified) (1 diff)
- 
          
  lib/7dtd/commands/backup.sh (modified) (1 diff)
- 
          
  lib/7dtd/commands/instances.sh (modified) (1 diff)
- 
          
  lib/7dtd/commands/start.sh (modified) (1 diff)
- 
          
  lib/7dtd/commands/status.sh (modified) (1 diff)
- 
          
  lib/7dtd/commands/stop.sh (modified) (1 diff)
- 
          
  lib/7dtd/commands/updateengine.sh (modified) (1 diff)
- 
          
  lib/7dtd/commands/updatefixes.sh (modified) (1 diff)
- 
          
  lib/7dtd/commands/updatescripts.sh (modified) (1 diff)
- 
          
  lib/7dtd/common.sh (modified) (1 diff)
- 
          
  lib/7dtd/help.sh (modified) (1 diff)
- 
          
  lib/7dtd/monitor-log.sh (modified) (1 diff)
- 
          
  lib/7dtd/playerlog.sh (modified) (1 diff)
- 
          
  lib/7dtd/serverconfig.sh (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
      scripts/usr/local/bin/7dtd.shr23 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 . /usr/local/lib/7dtd/common.sh 
- 
      scripts/usr/local/lib/7dtd/commands/about.shr48 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 sdtdCommandAbout() { 
- 
      scripts/usr/local/lib/7dtd/commands/backup.shr67 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 # Backups game data files. 
- 
      scripts/usr/local/lib/7dtd/commands/instances.shr248 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 
- 
      scripts/usr/local/lib/7dtd/commands/start.shr240 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 # Tries to start the 7dtd instance. 
- 
      scripts/usr/local/lib/7dtd/commands/status.shr248 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 17 2 18 3 19 # Print status of given instance. 
- 
      scripts/usr/local/lib/7dtd/commands/stop.shr248 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 # Tries to stop the 7dtd instance given as first parameter. 
- 
      scripts/usr/local/lib/7dtd/commands/updateengine.shr257 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 # Downloads SteamCMD, downloads/updates the 7dtd engine 
- 
      scripts/usr/local/lib/7dtd/commands/updatefixes.shr255 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 # Checks for newer server fixes version and downloads them 
- 
      scripts/usr/local/lib/7dtd/commands/updatescripts.shr248 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 # Checks for newer scripts version and downloads them 
- 
      scripts/usr/local/lib/7dtd/common.shr88 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 # Provides common functions for 7dtd-scripts. Not intended to be run directly. 
- 
      scripts/usr/local/lib/7dtd/help.shr23 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 genericHelp() { 
- 
      scripts/usr/local/lib/7dtd/monitor-log.shr240 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 . /usr/local/lib/7dtd/common.sh 
- 
      scripts/usr/local/lib/7dtd/playerlog.shr217 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 PLAYERSXML=$(getInstancePath $1)/players.xml 
- 
      scripts/usr/local/lib/7dtd/serverconfig.shr241 r258 1 1 #!/bin/bash 2 3 # Copyright 2016 Christian 'Alloc' Illy 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 2 17 3 18 # Provides functions to query and validate values for serverconfig.xml 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
