mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 19:12:33 +08:00
b69c2f01d0
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
19 lines
237 B
Bash
Executable File
19 lines
237 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Return: 0 means update flag is set.
|
|
check_update() {
|
|
if [ -f "/usr/bin/uugamebooster/uu.update" ];then
|
|
return 0
|
|
else
|
|
return 1
|
|
fi
|
|
}
|
|
|
|
check_update
|
|
if [ "$?" != "0" ];then
|
|
exit 0
|
|
return
|
|
fi
|
|
|
|
exit 0
|