Changeset 258 for scripts


Ignore:
Timestamp:
Feb 16, 2016, 8:41:19 PM (9 years ago)
Author:
alloc
Message:

Scripts: License

Location:
scripts
Files:
1 added
17 edited

Legend:

Unmodified
Added
Removed
  • scripts/etc/7dtd.conf

    r257 r258  
    11#!/bin/sh
     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
    217
    318# Root of the 7dtd folders, containing e.g. the "engine", "instances" folders
  • scripts/etc/init.d/7dtd.sh

    r23 r258  
    1212# Description:       Starts a 7 Days to Die server
    1313### END INIT INFO
     14
     15#   Copyright 2016 Christian 'Alloc' Illy
     16#
     17#   Licensed under the Apache License, Version 2.0 (the "License");
     18#   you may not use this file except in compliance with the License.
     19#   You may obtain a copy of the License at
     20#
     21#       http://www.apache.org/licenses/LICENSE-2.0
     22#
     23#   Unless required by applicable law or agreed to in writing, software
     24#   distributed under the License is distributed on an "AS IS" BASIS,
     25#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     26#   See the License for the specific language governing permissions and
     27#   limitations under the License.
     28
    1429
    1530case "$1" in
  • scripts/usr/local/bin/7dtd.sh

    r23 r258  
    11#!/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
    217
    318. /usr/local/lib/7dtd/common.sh
  • scripts/usr/local/lib/7dtd/commands/about.sh

    r48 r258  
    11#!/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
    217
    318sdtdCommandAbout() {
  • scripts/usr/local/lib/7dtd/commands/backup.sh

    r67 r258  
    11#!/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
    217
    318# Backups game data files.
  • scripts/usr/local/lib/7dtd/commands/instances.sh

    r248 r258  
    11#!/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
    217
    318
  • scripts/usr/local/lib/7dtd/commands/start.sh

    r240 r258  
    11#!/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
    217
    318# Tries to start the 7dtd instance.
  • scripts/usr/local/lib/7dtd/commands/status.sh

    r248 r258  
    11#!/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
    218
    319# Print status of given instance.
  • scripts/usr/local/lib/7dtd/commands/stop.sh

    r248 r258  
    11#!/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
    217
    318# Tries to stop the 7dtd instance given as first parameter.
  • scripts/usr/local/lib/7dtd/commands/updateengine.sh

    r257 r258  
    11#!/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
    217
    318# Downloads SteamCMD, downloads/updates the 7dtd engine
  • scripts/usr/local/lib/7dtd/commands/updatefixes.sh

    r255 r258  
    11#!/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
    217
    318# Checks for newer server fixes version and downloads them
  • scripts/usr/local/lib/7dtd/commands/updatescripts.sh

    r248 r258  
    11#!/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
    217
    318# Checks for newer scripts version and downloads them
  • scripts/usr/local/lib/7dtd/common.sh

    r88 r258  
    11#!/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
    217
    318# Provides common functions for 7dtd-scripts. Not intended to be run directly.
  • scripts/usr/local/lib/7dtd/help.sh

    r23 r258  
    11#!/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
    217
    318genericHelp() {
  • scripts/usr/local/lib/7dtd/monitor-log.sh

    r240 r258  
    11#!/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
    217
    318. /usr/local/lib/7dtd/common.sh
  • scripts/usr/local/lib/7dtd/playerlog.sh

    r217 r258  
    11#!/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
    217
    318PLAYERSXML=$(getInstancePath $1)/players.xml
  • scripts/usr/local/lib/7dtd/serverconfig.sh

    r241 r258  
    11#!/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
    217
    318# Provides functions to query and validate values for serverconfig.xml
Note: See TracChangeset for help on using the changeset viewer.