more checks
This commit is contained in:
8
start.sh
8
start.sh
@@ -56,6 +56,14 @@ check() {
|
|||||||
echo "hint: mount -t drvfs //truenas.home.weaver/dayz $DAYZ_FILES"
|
echo "hint: mount -t drvfs //truenas.home.weaver/dayz $DAYZ_FILES"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -d "$MAIN" ] ; then
|
||||||
|
die "$MAIN does not exist"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -d "$STOCK_SERVER_DATA" ] ; then
|
||||||
|
die "$STOCK_SERVER_DATA does not exist"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
# -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
||||||
|
|||||||
Reference in New Issue
Block a user