From b506d04aec5a0a6b3c4108a0dc1e848862dbd873 Mon Sep 17 00:00:00 2001
From: Juergen Daubert <juergen.daubert@t-online.de>
Date: Mon, 19 Dec 2005 18:12:52 +0000
Subject: [PATCH] samba: forgot to add the start script

---
 samba/samba | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 samba/samba

diff --git a/samba/samba b/samba/samba
new file mode 100644
index 000000000..5ed50c3bc
--- /dev/null
+++ b/samba/samba
@@ -0,0 +1,28 @@
+#!/bin/sh
+#
+# /etc/rc.d/samba: start/stop samba daemon
+#
+
+case $1 in
+start)
+	/usr/sbin/smbd -D
+	/usr/sbin/nmbd -D
+	;;
+stop)
+	killall -q nmbd
+	killall -q smbd
+	;;
+restart)
+	$0 stop
+	sleep 2
+	$0 start
+	;;
+reload)
+	/usr/bin/smbcontrol smbd reload-config
+	;;
+*)
+	echo "usage: $0 [start|stop|restart|reload]"
+	;;
+esac
+
+# End of file