pkgsrc/net/whoson/files/whosond.sh
abs a5069d8d72 Importwhoson-2.03
Whoson ("WHO iS ONline") is a proposed Internet protocol that allows
Internet server programs know if a particular (dynamically allocated)
IP address is currently allocated to a known (trusted) user and,
optionally, the identity of the said user.

The protocol could be used by an SMTP Message Transfer System in
conjunction with anti-spam-relaying filters to implement a scheme
similar to the one described here to allow roaming customers use
their "home" SMTP server to submit email while connected from a
"foreign" network.
2004-10-11 16:51:54 +00:00

23 lines
388 B
Bash

#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: whosond.sh,v 1.1.1.1 2004/10/11 16:51:54 abs Exp $
#
# PROVIDE: whosond
# REQUIRE: NETWORK
#
if [ -f /etc/rc.subr ]; then
. /etc/rc.subr
fi
name="whosond"
rcvar="${name}"
command="@PREFIX@/sbin/whosond"
if [ -f /etc/rc.subr ]; then
load_rc_config "$name"
run_rc_command "$1"
else
printf ' whosond'
${command} ${whosond_flags} ${command_args}
fi