From 07c2f2a5f4e3a508ccdbbda1bf23015bab0bd7d2 Mon Sep 17 00:00:00 2001 From: HW42 Date: Mon, 2 Feb 2015 23:43:59 +0100 Subject: [PATCH] debian: postinst: use systemctl to set default target --- debian/qubes-core-agent.postinst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/qubes-core-agent.postinst b/debian/qubes-core-agent.postinst index e621c36..ecfc599 100755 --- a/debian/qubes-core-agent.postinst +++ b/debian/qubes-core-agent.postinst @@ -273,8 +273,7 @@ case "${1}" in qubes-qrexec-agent.service # Set default "runlevel" - rm -f /etc/systemd/system/default.target - ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target + systemctl set-default multi-user.target # Copy ip(|6)tables into place if they do not already exist in filesystem. # This prevents conflict with iptables-service with fc21 and also put config