debian: Enable Whonix systemd services

This commit is contained in:
Jason Mehring 2014-11-07 00:34:38 -05:00
parent 4e7dbfcb06
commit 9322bab8c1
2 changed files with 6 additions and 6 deletions

View File

@ -2,12 +2,6 @@
. /usr/lib/whonix/utility_functions . /usr/lib/whonix/utility_functions
# Or just enable them :)
#ln -s '/lib/systemd/system/qubes-whonix-network.service' '/etc/systemd/system/multi-user.target.wants/qubes-whonix-network.service'
#ln -s '/lib/systemd/system/qubes-whonix-firewall.service' '/etc/systemd/system/multi-user.target.wants/qubes-whonix-firewall.service'
#ln -s '/lib/systemd/system/qubes-whonix-init.service' '/etc/systemd/system/multi-user.target.wants/qubes-whonix-init.service'
INTERFACE="eth1" INTERFACE="eth1"
if [ "${WHONIX}" == "gateway" ]; then if [ "${WHONIX}" == "gateway" ]; then

View File

@ -19,6 +19,12 @@ else
set -e set -e
fi fi
# ------------------------------------------------------------------------------
# Enable Qubes-Whonix services
# ------------------------------------------------------------------------------
chroot "${INSTALLDIR}" systemctl enable qubes-whonix-network.service || :
chroot "${INSTALLDIR}" systemctl enable qubes-whonix-firewall || :
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Restore Whonix apt-get # Restore Whonix apt-get
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------