diff options
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.patch | 23 |
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; |