diff options
author | jlam <jlam@pkgsrc.org> | 2001-12-14 22:30:07 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-12-14 22:30:07 +0000 |
commit | 11e44565d5ea339d08c2cb539de92f667661bb17 (patch) | |
tree | c4d011dccfb86f775ef2fa76b1272e0d87609163 /net/openslp/files/slpd.sh | |
parent | d71f0b8699929afec8dea529735501969b3154e0 (diff) | |
download | pkgsrc-11e44565d5ea339d08c2cb539de92f667661bb17.tar.gz |
Update net/openslp to 1.0.6. This package now uses the general INSTALL
scripts and honors ${PKG_SYSCONFDIR}. Changes from version 1.0.2 include:
* bug fixes
* set FRESH flag for registrations; OpenSLP ignores this flag, but other DA
implementations like K&A SLP do not.
* Minor changes to the way that settings from /etc/slp.conf affect active and
passive discovery.
* Changed declaration and definition for strncasecmp and strcasecmp so that
there is only one place for them in slp_compare.c and slp_compare.h
* Honor scopes in SrvRqsts for the special "service:directory-agent" type
* Added code to use IP address in agent url for those operating systems where
gethostname() does not return a fully qualified domain name (FQDN).
* Added code to log parse errors and dump bad messages to the log
* Fixed reconnect code to be able to interoperate with inefficient DAs that
close the stream after each srvreg/srvack exchange. The Mac OS/X DA is
reported to have this problem
* Removed calls that (sort of) enforce service-url checking. This is for the
benefit of AFP's usage of SRVLOC. Developers are now trusted not to
register ambiguous service-urls.
Diffstat (limited to 'net/openslp/files/slpd.sh')
-rw-r--r-- | net/openslp/files/slpd.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/openslp/files/slpd.sh b/net/openslp/files/slpd.sh index a77046f74bb..868b8524c52 100644 --- a/net/openslp/files/slpd.sh +++ b/net/openslp/files/slpd.sh @@ -5,7 +5,7 @@ # PROVIDE: slpd # REQUIRE: DAEMON -if [ -d /etc/rc.d -a -f /etc/rc.subr ] +if [ -e /etc/rc.subr ] then . /etc/rc.subr fi @@ -16,11 +16,11 @@ command="@PREFIX@/sbin/${name}" pidfile="/var/run/${name}.pid" required_files="/etc/slp.conf" -if [ ! -d /etc/rc.d ] +if [ -e /etc/rc.subr ] then + load_rc_config $name + run_rc_command "$1" +else @ECHO@ -n " ${name}" - exec ${command} ${slpd_flags} ${command_args} + ${command} ${slpd_flags} ${command_args} fi - -load_rc_config $name -run_rc_command "$1" |