add support to freebsd

This commit is contained in:
longpanda
2020-07-31 23:08:17 +08:00
parent 036e9cc167
commit d80a008c04
24 changed files with 2662 additions and 15 deletions

View File

@@ -39,12 +39,17 @@ if ! [ -f ./tool/ash ]; then
if ! [ -f ./tool/ash ]; then
echo 'Failed to decompress tools ...'
cd $OLDDIR
if [ -n "$OLDDIR" ]; then
cd $OLDDIR
fi
exit 1
fi
fi
./tool/ash ./tool/VentoyWorker.sh $*
cd $OLDDIR
if [ -n "$OLDDIR" ]; then
cd $OLDDIR
fi