Skip to content

Commit

Permalink
add custom online/offline hook cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
hanwckf committed Sep 17, 2019
1 parent cc51b6b commit 8bb9da0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openwrt/files/scutclient.config
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ config drcom
option version '4472434f4d0096022a'
option hash '2ec15ad258aee9604b18f2f8114da38db16efd00'
option dns '222.201.130.30'
option onlinehook '/etc/init.d/sysntpd restart'
option onlinehook 'echo 0 > /tmp/scutclient_status'
option offlinehook 'echo 1 > /tmp/scutclient_status'

0 comments on commit 8bb9da0

Please sign in to comment.