Last active
February 17, 2020 10:23
-
-
Save Ovis/c6b01dcec67fe06c40f022d1bb4f8b76 to your computer and use it in GitHub Desktop.
SoftEther起動用シェルスクリプト
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
/usr/local/vpnserver/vpnserver start | |
#SoftEther起動に時間がかかって、tapが取得できない問題の対応 | |
sleep 5 | |
tap=$(/sbin/ifconfig -a| awk '$1 ~ /^tap/ {print $1}') | |
/sbin/brctl addif br0 $tap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment