This commit is contained in:
Michal S.
2026-08-04 17:59:44 +01:00
commit 69071efd58
123 changed files with 7728 additions and 0 deletions
@@ -0,0 +1,8 @@
machine_identity
loopback
mdevd
syslogd
daemon
login
servers
console_login
+22
View File
@@ -0,0 +1,22 @@
#!/bin/sh
set -eu
case "${reason:-}" in
BOUND|REBIND|REBOOT|RENEW)
temporary=/run/resolv.conf.new
: >"$temporary"
for server in ${new_domain_name_servers:-}; do
printf 'nameserver %s\n' "$server" >>"$temporary"
done
if [ ! -s "$temporary" ]; then
rm -f "$temporary"
exit 1
fi
chmod 0644 "$temporary"
mv "$temporary" /etc/resolv.conf
printf '%s\n' "${new_ip_address:-unknown}" > /run/mouse-network.ready
;;
EXPIRE|FAIL|NAK|RELEASE|STOP|STOPPED)
rm -f /run/mouse-network.ready
;;
esac