more checks
This commit is contained in:
1 parent
a4d7e3006f
commit
e5b775c597
1 file changed
+8
@@ -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