Skip to content

Commit 8bb9da0

Browse files
committed
add custom online/offline hook cmd
1 parent cc51b6b commit 8bb9da0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

openwrt/files/scutclient.config

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ config drcom
1111
option version '4472434f4d0096022a'
1212
option hash '2ec15ad258aee9604b18f2f8114da38db16efd00'
1313
option dns '222.201.130.30'
14-
option onlinehook '/etc/init.d/sysntpd restart'
14+
option onlinehook 'echo 0 > /tmp/scutclient_status'
15+
option offlinehook 'echo 1 > /tmp/scutclient_status'

0 commit comments

Comments
 (0)