Initial release: install, uninstall, SmartDNS, web UI

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Андрей Бобырев
2026-05-24 22:15:37 +03:00
commit bc9355fe40
21 changed files with 2715 additions and 0 deletions

17
init.d/S97ksd-compile Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/sh
# Keenetic-Split-DNS — compile config on boot
KSD_ETC="/opt/etc/keenetic-split-dns"
COMPILE="/opt/share/keenetic-split-dns/scripts/compile-config.sh"
case "$1" in
start)
[ -x "$COMPILE" ] && [ -f "${KSD_ETC}/config.yaml" ] && "$COMPILE"
;;
stop) ;;
restart)
"$0" stop
"$0" start
;;
esac
exit 0