File:  [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / default / rc.d / 022.anshd.run
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Fri Oct 12 08:22:45 2012 UTC (11 years, 8 months ago) by misho
Branches: MAIN
CVS tags: elwix2_6, elwix2_3, elwix2_2, elwix2_1, elwix2_0, elwix1_9_mips, elwix1_9, elwix1_8, elwix1_7, HEAD, ELWIX2_5, ELWIX2_2p0, ELWIX2_1, ELWIX2_0, ELWIX1_9, ELWIX1_8, ELWIX1_7, ELWIX1_6
ELWIX 1.6

#!/bin/sh

TIMEOUT="180"
KEY="_ansh_ELWIX_"

[ -r /etc/mylan ] && VDEV=`cat /etc/mylan`
VDEV=${VDEV:-`get1steth -g`}

echo "Starting anshd on $VDEV ..."
[ -x /usr/sbin/anshd ] && /usr/sbin/anshd -t ${TIMEOUT} -k ${KEY} -d $VDEV

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