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
|
if [ ! -d "$CONFIG_DIR" ]; then
|
||||||
ui_print "- Creating configuration directory"
|
ui_print "- Creating configuration directory"
|
||||||
mkdir -p "$CONFIG_DIR"
|
mkdir -p "$CONFIG_DIR"
|
||||||
[ ! -f "$CONFIG_DIR/spoof_build_vars" ] && touch "$CONFIG_DIR/spoof_build_vars"
|
touch "$CONFIG_DIR/spoof_build_vars"
|
||||||
fi
|
fi
|
||||||
if [ ! -f "$CONFIG_DIR/keybox.xml" ]; then
|
if [ ! -f "$CONFIG_DIR/keybox.xml" ]; then
|
||||||
ui_print "- Adding default software keybox"
|
ui_print "- Adding default software keybox"
|
||||||
|
|||||||
@@ -5,10 +5,7 @@ MODDIR=${0%/*}
|
|||||||
cd $MODDIR
|
cd $MODDIR
|
||||||
|
|
||||||
(
|
(
|
||||||
while [ true ]; do
|
while true; do
|
||||||
./daemon
|
./daemon || exit 1
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
) &
|
) &
|
||||||
|
|||||||
Reference in New Issue
Block a user