Skip to content

Commit

Permalink
Merge pull request #2 from MaverickTse/MaverickTse-patch-2
Browse files Browse the repository at this point in the history
fix sed error
  • Loading branch information
MaverickTse authored Mar 18, 2018
2 parents 5eaef19 + 96583a3 commit 8f1afb1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions softether-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8f1afb1

Please sign in to comment.