From 2f1045cc9ac6edf7265c314e66425556eecbd158 Mon Sep 17 00:00:00 2001 From: Steven Foerster Date: Sun, 26 Apr 2020 01:56:05 -0400 Subject: [PATCH] paths --- scripts/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update.sh b/scripts/update.sh index 67ed331..4a037ea 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -9,7 +9,7 @@ sudo git -C /opt/mistborn submodule update --init --recursive sudo pip3 install -e /opt/mistborn/modules/mistborn-cli iface=$(ip -o -4 route show to default | egrep -o 'dev [^ ]*' | awk 'NR==1{print $2}') -sudo cp ./scripts/services/Mistborn* /etc/systemd/system/ +sudo cp /opt/mistborn/scripts/services/Mistborn* /etc/systemd/system/ sudo find /etc/systemd/system/ -type f -name 'Mistborn*' | xargs sudo sed -i "s/User=root/User=mistborn/" sudo find /etc/systemd/system/ -type f -name 'Mistborn*' | xargs sudo sed -i "s/DIFACE/$iface/"