2016-05-05 14:42:47 +00:00
|
|
|
#!/bin/bash
|
|
|
|
#Test Configuration
|
2016-05-06 07:26:52 +00:00
|
|
|
if test -f "/config/credentials.json"; then echo "Creds Exist"; else cp /root/NadekoBot/credentials_example.json /config/credentials.json; fi
|
2016-05-05 14:42:47 +00:00
|
|
|
|
|
|
|
#Remove Built in
|
2016-05-06 07:26:52 +00:00
|
|
|
rm /root/NadekoBot/credentials.json
|
2016-05-09 07:45:08 +00:00
|
|
|
|
2016-05-05 14:42:47 +00:00
|
|
|
#Adding Config file sym links
|
2016-05-09 08:36:36 +00:00
|
|
|
ln -s /config/credentials.json /root/NadekoBot/credentials.json
|
|
|
|
ln -s /config/data /root/NadekoBot/data
|