summarylogtreecommitdiffstats
path: root/resolvconf-symlink-systemd-uplink.hook
blob: e3d69a07ba02bb8079965cbc951df1d6594b1a8a (plain)
1
2
3
4
5
6
7
8
9
10
[Trigger]
Type = Package
Operation = Install
Operation = Upgrade
Target = filesystem

[Action]
Description = Re-pointing /etc/resolv.conf symlink to /run/systemd/resolve/resolv.conf...
When = PostTransaction
Exec = /usr/bin/ln -sfT /run/systemd/resolve/resolv.conf /etc/resolv.conf