This repository has been archived on 2024-07-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
etckeeper/init/resolvconf.conf
T
2021-10-27 14:28:05 +02:00

20 lines
457 B
Plaintext

# upstart script for resolvconf
description "Initialize or finalize resolvconf"
start on mounted MOUNTPOINT=/run
stop on runlevel [06]
pre-start script
mkdir -p /run/resolvconf/interface
# Request a postponed update (needed in case the base file has content).
touch /run/resolvconf/postponed-update
# Enable updates and perform the postponed update.
resolvconf --enable-updates
end script
post-stop script
resolvconf --disable-updates
end script