Minor module script improvements

This commit is contained in:
osm0sis
2024-07-31 16:47:46 -03:00
committed by chiteroman
parent bf87ea42b8
commit 66dc366273
2 changed files with 3 additions and 6 deletions

View File

@@ -93,7 +93,7 @@ CONFIG_DIR=/data/adb/tricky_store
if [ ! -d "$CONFIG_DIR" ]; then
ui_print "- Creating configuration directory"
mkdir -p "$CONFIG_DIR"
[ ! -f "$CONFIG_DIR/spoof_build_vars" ] && touch "$CONFIG_DIR/spoof_build_vars"
touch "$CONFIG_DIR/spoof_build_vars"
fi
if [ ! -f "$CONFIG_DIR/keybox.xml" ]; then
ui_print "- Adding default software keybox"

View File

@@ -5,10 +5,7 @@ MODDIR=${0%/*}
cd $MODDIR
(
while [ true ]; do
./daemon
if [ $? -ne 0 ]; then
exit 1
fi
while true; do
./daemon || exit 1
done
) &