forcemerge 397074 388037 thanks Attached is a patch to stop the start of stund by default and add a START_DEMON option to /etc/default/stun
The patch applies to the debian source and is untested. Please report any tests to this bug report. Regards Alex Owen
diff -uNr stun-0.96.dfsg.old/debian/init.d stun-0.96.dfsg/debian/init.d --- stun-0.96.dfsg.old/debian/init.d 2007-01-01 23:16:24.000000000 +0000 +++ stun-0.96.dfsg/debian/init.d 2007-01-01 23:15:42.000000000 +0000 @@ -14,9 +14,14 @@ DAEMON=/usr/sbin/stund NAME=stun DESC=stun +START_DAEMON=false test -x $DAEMON || exit 0 +if [ "$START_DAEMON" != "true" ] ; then + exit 0 +fi + # Include stun defaults if available if [ -f /etc/default/stun ] ; then . /etc/default/stun diff -uNr stun-0.96.dfsg.old/debian/README.Debian stun-0.96.dfsg/debian/README.Debian --- stun-0.96.dfsg.old/debian/README.Debian 2007-01-01 23:16:24.000000000 +0000 +++ stun-0.96.dfsg/debian/README.Debian 2007-01-01 23:15:23.000000000 +0000 @@ -1,5 +1,9 @@ stund for Debian ---------------- +The stund daemon is not started by default. +To get the daemon to start edit /etc/default/stun and uncomment the +START_DAEMON=true line + A list of publicly available STUN test servers is available at: http://www.voip-info.org/wiki/view/STUN diff -uNr stun-0.96.dfsg.old/debian/stun.default stun-0.96.dfsg/debian/stun.default --- stun-0.96.dfsg.old/debian/stun.default 2007-01-01 23:16:24.000000000 +0000 +++ stun-0.96.dfsg/debian/stun.default 2007-01-01 23:11:38.000000000 +0000 @@ -6,6 +6,9 @@ # This is a POSIX shell fragment # +#uncommment the next line to allow the init.d script to start the stun daemon +#START_DAEMON=true + # Additional options that are passed to the Daemon. DAEMON_OPTS=""