all bullshit OUT

This commit is contained in:
lda
2025-08-26 07:17:23 +07:00 Unverified
parent f4fcf7be65
commit 7371d2ae8c
7 changed files with 19 additions and 26 deletions
+1 -1
View File
@@ -45,7 +45,6 @@ fetch() {
if command -v uclient-fetch >/dev/null 2>&1; then
uclient-fetch -O "$2" "$1" || return 1
elif command -v wget >/dev/null 2>&1; then
# shellcheck disable=SC2086
wget ${WAKEY_INSECURE:+--no-check-certificate} -O "$2" "$1" || return 1
elif command -v curl >/dev/null 2>&1; then
if [ -n "${WAKEY_INSECURE:-}" ]; then
@@ -96,6 +95,7 @@ main() {
if [ -f /etc/init.d/wakey ]; then
chmod +x /etc/init.d/wakey || true
chmod +x /etc/init.d/kill_wakey.sh || true
/etc/init.d/wakey enable || true
/etc/init.d/wakey restart || /etc/init.d/wakey start || true
fi