-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
72 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bashio | ||
# ============================================================================== | ||
# Take down the S6 supervision tree when service fails | ||
# s6-overlay docs: /~https://github.com/just-containers/s6-overlay | ||
# ============================================================================== | ||
|
||
if [[ "$1" -ne 0 ]] && [[ "$1" -ne 256 ]]; then | ||
bashio::log.warning "Halt add-on" | ||
exec /run/s6/basedir/bin/halt | ||
fi | ||
|
||
bashio::log.info "Service restart after closing" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/with-contenv bashio | ||
|
||
LOG_SOCKET=/tmp/dnsmasq-script-log-socket | ||
|
||
# This service implements just a very very basic | ||
# Unix socket -> stdout proxy server. | ||
# This is useful to get the messages logged by the | ||
# /opt/bin/dnsmasq-dhcp-script.sh | ||
# to stdout | ||
|
||
bashio::log.info "Starting log-helper..." | ||
socat -u UNIX-LISTEN:${LOG_SOCKET},fork STDOUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +0,0 @@ | ||
1727948636 f8:25:51:d9:1e:73 192.168.1.21 host-a 01:f8:25:51:d9:1e:73 | ||
1727948544 08:a6:f7:4f:13:04 192.168.1.47 host-b 01:08:a6:f7:4f:13:04 | ||
1727948521 40:ae:30:50:15:cb 192.168.1.41 host-c * | ||
1727948425 80:64:6f:dc:73:b8 192.168.1.44 host-d 01:80:64:6f:dc:73:b8 | ||
1727948248 80:64:6f:c8:1f:3c 192.168.1.43 host-e 01:80:64:6f:c8:1f:3c | ||
1727947962 28:73:f6:88:b6:35 192.168.1.51 host-f * | ||
1727947954 50:8b:b9:30:0c:02 192.168.1.42 host-g * | ||
1727915892 4c:50:77:cf:3c:35 192.168.1.207 host-h 01:4c:50:77:cf:3c:35 | ||
1727937507 80:be:af:c4:44:94 192.168.1.32 host-i 01:80:be:af:c4:44:94 | ||
1727938824 ec:71:db:a1:ed:24 192.168.1.31 host-l 01:ec:71:db:a1:ed:24 | ||
1727940354 6c:bf:b5:00:c9:ff 192.168.1.5 host-m * | ||
1727945736 80:be:af:c4:45:49 192.168.1.30 host-n 01:80:be:af:c4:45:49 | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0 | ||
1 |