nadeko/init/50_configuration.sh
2016-05-09 09:36:36 +01:00

10 lines
362 B
Bash

#!/bin/bash
#Test Configuration
if test -f "/config/credentials.json"; then echo "Creds Exist"; else cp /root/NadekoBot/credentials_example.json /config/credentials.json; fi
#Remove Built in
rm /root/NadekoBot/credentials.json
#Adding Config file sym links
ln -s /config/credentials.json /root/NadekoBot/credentials.json
ln -s /config/data /root/NadekoBot/data