router doesnt know what this is
This commit is contained in:
@@ -2,12 +2,12 @@
|
|||||||
START=66
|
START=66
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
LOGFILE=/var/log/update_wakey.log
|
LOGFILE=/var/log/update_wakey.log
|
||||||
MAX_RETRIES=10
|
MAX_RETRIES=10
|
||||||
RETRY_COUNT=0
|
RETRY_COUNT=0
|
||||||
|
|
||||||
# shellcheck disable=SC2016
|
# shellcheck disable=SC2016
|
||||||
nohup sh -c '
|
sh -c '
|
||||||
while [ "$RETRY_COUNT" -lt "$MAX_RETRIES" ]; do
|
while [ "$RETRY_COUNT" -lt "$MAX_RETRIES" ]; do
|
||||||
if /etc/ldlda_help/update_wakey.sh; then
|
if /etc/ldlda_help/update_wakey.sh; then
|
||||||
echo "[update_wakey] Success at $(date)" >>"$LOGFILE"
|
echo "[update_wakey] Success at $(date)" >>"$LOGFILE"
|
||||||
|
|||||||
Reference in New Issue
Block a user