Commit c57f649d authored by Leigh Stoller's avatar Leigh Stoller

A temp patch for FreeBSD6 until samba port is updated; make sure ldconfig

is run before samba tries to start. This is harmless, so it will not matter
if its still in place when ports are updated.
parent 68595385
......@@ -6,12 +6,25 @@ TESTBED_SRCDIR = @top_srcdir@
OBJDIR = ..
SUBDIR = rc.d
WINSUPPORT = @WINSUPPORT@
SYSTEM := $(shell uname -s)
include $(OBJDIR)/Makeconf
RC_SCRIPTS = 2.mysql-server.sh 3.testbed.sh 2.elvind.sh 1.named.sh \
2.dhcpd.sh 1.mysql-client.sh
OPS_SCRIPTS = 2.elvind.sh 3.and.sh 1.mysql-client.sh 1.mysql-server.sh
ifeq ($(SYSTEM),FreeBSD)
FBSDVERSION := $(shell uname -v | sed -e 's/FreeBSD \([0-9]\).*/FreeBSD\1/')
ifeq ($(FBSDVERSION),FreeBSD6)
ifeq ($(WINSUPPORT),1)
OPS_SCRIPTS += silly.sh
endif
endif
endif
#
# Force dependencies to make sure configure regenerates if the .in file
# is changed.
......
#!/bin/sh
#
# A temp Emulab patch until samba port is updated; make sure ldconfig is
# run before samba tries to start.
#
# PROVIDE: silly
# REQUIRE: ldconfig
# BEFORE: nmbd smbd
# KEYWORD: FreeBSD shutdown
exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment