#!/bin/sh
#!/bin/bash


if [ $(ifconfig | grep -c '10.0.1.2') -eq 0 ];then
    tunctl -t lan0 -u root
    /sbin/ifconfig lan0 10.0.1.2/24
fi
