Skip to content

Instantly share code, notes, and snippets.

@Ovis
Last active February 17, 2020 10:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ovis/c6b01dcec67fe06c40f022d1bb4f8b76 to your computer and use it in GitHub Desktop.
Save Ovis/c6b01dcec67fe06c40f022d1bb4f8b76 to your computer and use it in GitHub Desktop.
SoftEther起動用シェルスクリプト
#!/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