From cae6a5a51214a47dd06b52a52e4207d0cf6e9382 Mon Sep 17 00:00:00 2001 From: gh2o Date: Sun, 13 Jul 2014 17:51:18 -0700 Subject: [PATCH] enable services in postbootstrap --- install.sh | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/install.sh b/install.sh index c920a99..79e59f0 100755 --- a/install.sh +++ b/install.sh @@ -242,6 +242,10 @@ DNS=8.8.8.8 DNS=8.8.4.4 EOF + # enable services + chroot /archroot systemctl enable systemd-networkd + chroot /archroot systemctl enable sshd + } error_occurred() { @@ -360,14 +364,6 @@ transitory_main() { postinstall_main() { - # enable networkd - systemctl enable systemd-networkd - systemctl start systemd-networkd - - # enable ssh - systemctl enable sshd - systemctl start sshd - # cleanup filesystem rm -f /var/cache/pacman/pkg mv /packages /var/cache/pacman/pkg