Loading ...
Sorry, an error occurred while loading the content.

Re: What respawns samba?

Expand Messages
  • mick_nslu2
    ... 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
    Message 1 of 4 , Jun 3, 2011
    • 0 Attachment
      --- 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
    Your message has been successfully submitted and would be delivered to recipients shortly.