diff options
Diffstat (limited to 'resolvconf-symlink-systemd-uplink.hook')
-rw-r--r-- | resolvconf-symlink-systemd-uplink.hook | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/resolvconf-symlink-systemd-uplink.hook b/resolvconf-symlink-systemd-uplink.hook new file mode 100644 index 000000000000..e3d69a07ba02 --- /dev/null +++ b/resolvconf-symlink-systemd-uplink.hook @@ -0,0 +1,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 |