![]() ![]() | ![]() |
ver 2.6
1: #!/bin/sh 2: 3: TIMEOUT="180" 4: KEY="_ansh_ELWIX_" 5: 6: [ -x /usr/sbin/anshd ] || exit 7: 8: [ -r /etc/mylan ] && VDEV=`cat /etc/mylan` 9: VDEV=${VDEV:-`get1steth -g`} 10: 11: echo "Starting anshd on $VDEV ..." 12: /usr/local/sbin/anshd -t ${TIMEOUT} -k ${KEY} -d $VDEV