zaurus-2.6.inc: force creation of jffs2 images
[openembedded.git] / recipes / nslu2-binary-only / unslung-rootfs / rc.samba-syntaxfix.patch
1 --- nslu2-linksys-ramdisk-2.3r63/etc/rc.d/rc.samba~     2006-05-16 14:22:33.000000000 -0500
2 +++ nslu2-linksys-ramdisk-2.3r63/etc/rc.d/rc.samba      2006-05-16 16:47:45.000000000 -0500
3 @@ -5,16 +5,16 @@
4  if [ -n "`pidof smbd`" ] ; then
5      killall smbd 2>/dev/null
6  fi
7 -if [ -n "`pidof smbd`" ] ; then
8 +#if [ -n "`pidof smbd`" ] ; then
9  #    killall -9 smbd 2>/dev/null
10 -fi
11 +#fi
12  
13  if [ -n "`pidof nmbd`" ] ; then
14      killall nmbd 2>/dev/null
15  fi
16 -if [ -n "`pidof nmbd`" ] ; then
17 +#if [ -n "`pidof nmbd`" ] ; then
18  #    killall -9 nmbd 2>/dev/null
19 -fi
20 +#fi
21  sleep 2
22  /usr/sbin/smbd -D; 
23  /usr/sbin/nmbd -D;