mirror of https://github.com/OpenIPC/firmware.git
Update S98vtun
parent
f0f865ea58
commit
3d4653a570
|
@ -1,4 +1,10 @@
|
|||
#!/bin/sh
|
||||
vtun=$(fw_printenv -n vtund)
|
||||
|
||||
|
||||
[ ! -z "$(fw_printenv -n vtund)" ] && tunnel "$(fw_printenv -n vtund)" || exit 1;
|
||||
case "$1" in
|
||||
start)
|
||||
if [ -n "$vtun" ]; then
|
||||
tunnel "$vtun"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue