Преглед изворни кода

Set up main script and dev config files.

master
treyzania пре 6 година
родитељ
комит
1b4190b1e7
3 измењених фајлова са 16 додато и 0 уклоњено
  1. 1
    0
      .gitignore
  2. 14
    0
      booty.sh
  3. 1
    0
      localconfig

+ 1
- 0
.gitignore Прегледај датотеку

@@ -0,0 +1 @@
fakeplex/

+ 14
- 0
booty.sh Прегледај датотеку

@@ -0,0 +1,14 @@
#!/bin/bash

MAIN_CONFIG="/etc/bootybot.conf"
if [ -f localconfig ]; then
source localconfig
elif [ -f "$MAIN_CONFIG" ]; then
source $MAIN_CONFIG
else
echo 'error: no valid config found'
exit 1
fi

# TODO The rest of the script.


+ 1
- 0
localconfig Прегледај датотеку

@@ -0,0 +1 @@
PLEX_ROOT=./fakeplex

Loading…
Откажи
Сачувај