summaryrefslogtreecommitdiff
path: root/packages/nslu2-binary-only/unslung-rootfs/rc.samba-syntaxfix.patch
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2006-05-25 05:24:21 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-25 05:24:21 +0000
commitf0b2f4dbe65e29fe5d2acabdfdb3478271939823 (patch)
treed104767ea53d477789f2454db61b471484011012 /packages/nslu2-binary-only/unslung-rootfs/rc.samba-syntaxfix.patch
parent2e3d6f2d0fe091f0b3442ad217e18d07026125a8 (diff)
parentcb1f96f7355f53add6ca196a078b577c3d7f07f5 (diff)
merge of 6d9a6d263913c8c725780872fe2f13329fcfb1b8
and e974c19c3971f18d2c208cce51bc722e476920be
Diffstat (limited to 'packages/nslu2-binary-only/unslung-rootfs/rc.samba-syntaxfix.patch')
-rw-r--r--packages/nslu2-binary-only/unslung-rootfs/rc.samba-syntaxfix.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/nslu2-binary-only/unslung-rootfs/rc.samba-syntaxfix.patch b/packages/nslu2-binary-only/unslung-rootfs/rc.samba-syntaxfix.patch
new file mode 100644
index 0000000000..fcfc273f2b
--- /dev/null
+++ b/packages/nslu2-binary-only/unslung-rootfs/rc.samba-syntaxfix.patch
@@ -0,0 +1,23 @@
+--- nslu2-linksys-ramdisk-2.3r63/etc/rc.d/rc.samba~ 2006-05-16 14:22:33.000000000 -0500
++++ nslu2-linksys-ramdisk-2.3r63/etc/rc.d/rc.samba 2006-05-16 16:47:45.000000000 -0500
+@@ -5,16 +5,16 @@
+ if [ -n "`pidof smbd`" ] ; then
+ killall smbd 2>/dev/null
+ fi
+-if [ -n "`pidof smbd`" ] ; then
++#if [ -n "`pidof smbd`" ] ; then
+ # killall -9 smbd 2>/dev/null
+-fi
++#fi
+
+ if [ -n "`pidof nmbd`" ] ; then
+ killall nmbd 2>/dev/null
+ fi
+-if [ -n "`pidof nmbd`" ] ; then
++#if [ -n "`pidof nmbd`" ] ; then
+ # killall -9 nmbd 2>/dev/null
+-fi
++#fi
+ sleep 2
+ /usr/sbin/smbd -D;
+ /usr/sbin/nmbd -D;