summaryrefslogtreecommitdiff
path: root/chat/jabberd2/files/sm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chat/jabberd2/files/sm.sh')
-rwxr-xr-xchat/jabberd2/files/sm.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/chat/jabberd2/files/sm.sh b/chat/jabberd2/files/sm.sh
index e7f7c090558..ff00f569f98 100755
--- a/chat/jabberd2/files/sm.sh
+++ b/chat/jabberd2/files/sm.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: sm.sh,v 1.2 2004/06/26 11:21:46 abs Exp $
+# $NetBSD: sm.sh,v 1.3 2008/03/08 22:20:02 gdt Exp $
#
# PROVIDE: sm
# REQUIRE: DAEMON c2s
@@ -35,6 +35,8 @@ remove_pidfile()
if [ -f /etc/rc.subr ]; then
load_rc_config $name
+ # XXX Previous commands seem to complete but not be ready.
+ sleep 5
run_rc_command "$1"
else
@ECHO@ -n " ${name}"