File:  [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / uboot / rc.d / 022.anshd.run
Revision 1.2.4.1: download - view: text, annotated - select for diffs - revision graph
Mon Jan 1 22:10:35 2018 UTC (6 years, 8 months ago) by misho
Branches: elwix2_6
Diff to: branchpoint 1.2: preferred, colored
fix ansh confz

#!/bin/sh

TIMEOUT="180"
KEY="_ansh_ELWIX_"

[ -x /usr/sbin/anshd ] || exit

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

echo "Starting anshd on $VDEV ..."
/usr/local/sbin/anshd -t ${TIMEOUT} -k ${KEY} -d $VDEV

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