From 96583a3f807016ec54131bcd8e9b2b4b445e5d17 Mon Sep 17 00:00:00 2001 From: MaverickTse Date: Sun, 18 Mar 2018 12:51:36 +0800 Subject: [PATCH] fix sed error --- softether-install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/softether-install.sh b/softether-install.sh index e9ba649..48ea30b 100644 --- a/softether-install.sh +++ b/softether-install.sh @@ -27,8 +27,7 @@ cat se-build.sh | scl enable devtoolset-7 - if [[ ! -f /etc/systemd/system/softether-vpnserver.service ]]; then cp $HOME/SoftEtherVPN/systemd/softether-vpnserver.service $HOME/softether-vpnserver.service cd $HOME - sed 's/opt/usr/g' softether-vpnserver.service - cp softether-vpnserver.service /etc/systemd/system/softether-vpnserver.service + sed 's/opt/usr/g' softether-vpnserver.service > /etc/systemd/system/softether-vpnserver.service fi systemctl daemon-reload systemctl enable softether-vpnserver.service