From f0e74ba8f61780c55ece258d1eaa6e52d6f0c804 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Wed, 20 May 2020 00:59:58 +0200 Subject: [PATCH] ssh-init: use ip instead ifconfig --- system/server/initssh.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/server/initssh.nix b/system/server/initssh.nix index d85816e..2cab128 100644 --- a/system/server/initssh.nix +++ b/system/server/initssh.nix @@ -75,7 +75,8 @@ in { echo "make sure localhost is up" ip a a 127.0.0.1/8 dev lo - ifconfig lo up + # ifconfig lo up + ip link set lo up echo "tor: starting tor" tor -f ${torRc} --verify-config