Annotation of elwix/config/etc/uboot/rc.d/022.anshd.run, revision 1.2.4.1

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>