From 72361987a8a18605327df56c2d2a546e0758f884 Mon Sep 17 00:00:00 2001 From: moeyuki <47294433+moexiyuki@users.noreply.github.com> Date: Thu, 5 Dec 2024 02:01:07 +0800 Subject: [PATCH] To modify a variable misreference (#162) To modify a variable misreference --- box/settings.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/box/settings.ini b/box/settings.ini index 98dd74c..183bd24 100755 --- a/box/settings.ini +++ b/box/settings.ini @@ -1,5 +1,8 @@ #!/system/bin/sh +# define the settings and paths +settings="/data/adb/box/settings.ini" + get_pkg_list(){ p=0 for pkg in $(cat $(dirname $settings)/package.list.ini) @@ -17,9 +20,6 @@ fi # Take the current time current_time=$(date +"%I:%M %P") -# define the settings and paths -settings="/data/adb/box/settings.ini" - # set the port numbers for tproxy and redir tproxy_port="9898" redir_port="9797" @@ -161,4 +161,4 @@ log() { notify "box_for_root" "${message}" fi -} \ No newline at end of file +}