Showing msg on first install about data dir

This commit is contained in:
Deon George 2018-09-13 23:35:11 +10:00
parent 03851190a2
commit bde5de7730

2
init
View File

@ -14,7 +14,7 @@ export PATH=$PATH:/mystic
if [ "$1" == "start" ]; then if [ "$1" == "start" ]; then
# First time install - expand out our data directory # First time install - expand out our data directory
[ $(find data|wc -l) -le 1 ] && tar xzf data.tar.gz [ $(find data|wc -l) -le 1 ] && tar xzf data.tar.gz && echo "* Installing Mystic data files into /mystic/data"
# OK, start # OK, start
exec ${INIT} server exec ${INIT} server