mirror of
https://github.com/chiteroman/TrickyStore.git
synced 2025-07-17 15:29:32 +00:00
Minor module script improvements
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
) &
|
||||
|
||||
Reference in New Issue
Block a user