mirror of
https://github.com/gSpotx2f/luci-app-internet-detector.git
synced 2025-12-12 06:26:57 +03:00
v0.3. Internet detector daemon
This commit is contained in:
1
internet-detector/files/etc/internet-detector/down-script
Executable file
1
internet-detector/files/etc/internet-detector/down-script
Executable file
@@ -0,0 +1 @@
|
||||
# Shell commands to run when disconnected from the Internet
|
||||
4
internet-detector/files/etc/internet-detector/run-script
Executable file
4
internet-detector/files/etc/internet-detector/run-script
Executable file
@@ -0,0 +1,4 @@
|
||||
# Shell commands that are executed every time the Internet is checked for availability
|
||||
#
|
||||
# $1 - (0|1) - internet status: 0 is up, 1 is down
|
||||
#
|
||||
1
internet-detector/files/etc/internet-detector/up-script
Executable file
1
internet-detector/files/etc/internet-detector/up-script
Executable file
@@ -0,0 +1 @@
|
||||
# Shell commands that run when connected to the Internet
|
||||
Reference in New Issue
Block a user