]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - ddns/10-ddns
ddns: Add network trigger
[people/amarx/ipfire-3.x.git] / ddns / 10-ddns
diff --git a/ddns/10-ddns b/ddns/10-ddns
new file mode 100755 (executable)
index 0000000..2ed3cc9
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+[ "${ACTION}" = "online" ] || exit 0
+
+exec systemctl start ddns.service