Friday, June 3, 2011

[nslu2-linux] Re: What respawns samba?

 



--- In nslu2-linux@yahoogroups.com, "mick_nslu2" <mick_nslu2@...> wrote:
>
> --- In nslu2-linux@yahoogroups.com, Neil Ronketti <neil@> wrote:
> >
> >
> > On 27 Sep 2009, at 11:07, mick_nslu2 wrote:
> >
> > > Hi All,
> > >
> > > I am running V2.3R63-uNSLUng-6.10-beta.
> > >
> > > Although I can stop smb processes:
> > >
> > > 10753 root 4816 S /usr/sbin/nmbd -D
> > > 10757 root 6156 S /usr/sbin/smbd -D
> > > 10764 root 6156 S /usr/sbin/smbd -D
> > >
> > > within 24 hours they have started again. How can I control this?
> >
> > http://www.nslu2-linux.org/wiki/Info/BootSequencePage is a good place
> > to start reading for this.
>
> Thank you! I'll go through these and see what I find.

The solution that I have found was to add in a new file /unslung/rc.samba:

#!/bin/bash
return 0

so that samba does not start when slug boots and also to change in /usr/sbin/WatchDog:

MSN="msn_enable" to MSN="msn_disable"

so that samba is not restarted every time cron runs /usr/sbin/WatchDog

Hope this helps somebody.
--
Regards,
Mick

__._,_.___
Recent Activity:
.

__,_._,___

No comments:

Post a Comment