Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2012 04:37:19 -0700 (PDT)
From:      Jack Mc Lauren <jack.mclauren@yahoo.com>
To:        Arthur Chance <freebsd@qeng-ho.org>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: nanobsd configuration
Message-ID:  <1350992239.88890.YahooMailNeo@web126001.mail.ne1.yahoo.com>
In-Reply-To: <50867E7B.7050704@qeng-ho.org>
References:  <1350980911.20647.YahooMailNeo@web126002.mail.ne1.yahoo.com> <50867E7B.7050704@qeng-ho.org>

index | next in thread | previous in thread | raw e-mail





________________________________
 From: Arthur Chance <freebsd@qeng-ho.org>
To: Jack Mc Lauren <jack.mclauren@yahoo.com> 
Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> 
Sent: Tuesday, October 23, 2012 2:54 PM
Subject: Re: nanobsd configuration
 
On 10/23/12 09:28, Jack Mc Lauren wrote:
> hi
> 
> i have a problem with nanobsd. there are somethings which don't have WITHOUT knobs,
> how can i control these directories manually ? how can i add a costume function to
> nanobsd.sh to do this ??

How about something along the lines of

cust_clean () {
    rm -rf ${NANO_WORLDIR}/path/to/unwanted
}

customize_cmd cust_clean

in your nanobsd config file?


=======================================================================
thanks 
you mean after building image, this function remove unwanted from WORLDDIR ?
i suppose this will not effect the image, because the image had been built before removing unwanted directories ...
did i get your point correctly ? 
From owner-freebsd-questions@FreeBSD.ORG  Tue Oct 23 12:30:03 2012
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
 by hub.freebsd.org (Postfix) with ESMTP id 7CF481D5
 for <freebsd-questions@freebsd.org>; Tue, 23 Oct 2012 12:30:03 +0000 (UTC)
 (envelope-from leslie@eskk.nu)
Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3])
 by mx1.freebsd.org (Postfix) with ESMTP id 2CF3B8FC0C
 for <freebsd-questions@freebsd.org>; Tue, 23 Oct 2012 12:30:02 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mx1.bjare.net (Postfix) with ESMTP id D9F7C5E3F3
 for <freebsd-questions@freebsd.org>; Tue, 23 Oct 2012 14:20:38 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net
X-Spam-Flag: NO
X-Spam-Score: -1.568
X-Spam-Level:
X-Spam-Status: No, score=-1.568 tagged_above=-999 required=5
 tests=[AWL=-0.570, BAYES_00=-2.599, RCVD_IN_PBL=0.905,
 RDNS_DYNAMIC=0.1, SPF_SOFTFAIL=0.596]
Received: from mx1.bjare.net ([127.0.0.1])
 by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024)
 with LMTP id gczG+Ir91Zlg for <freebsd-questions@freebsd.org>;
 Tue, 23 Oct 2012 14:20:30 +0200 (CEST)
X-BN-MX1: ja
X-BN-MailInfo: BjareNet
Received: from [172.17.0.111] (c-195-216-043-059.ekt.thalamus.net
 [195.216.43.59]) by mx1.bjare.net (Postfix) with ESMTP id 9A50C5E452
 for <freebsd-questions@freebsd.org>; Tue, 23 Oct 2012 14:20:30 +0200 (CEST)
Message-ID: <50868B9A.3040008@eskk.nu>
Date: Tue, 23 Oct 2012 14:20:42 +0200
From: Leslie Jensen <leslie@eskk.nu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
 rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: freebsd-questions@freebsd.org
Subject: Samba and handbook
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>,
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Oct 2012 12:30:03 -0000


According to

http://www.se.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-samba.html

One can use

samba_enable="YES"

Or, for fine grain control:

nmbd_enable="YES"

smbd_enable="YES"

> 20121022:
>   AFFECTS: users of net/samba36
>   AUTHOR: timur@FreeBSD.org
>
>   Startup rc.d/samba script was modified to address some problems with the
>   fine control of supplimentary daemons. As a side effect now it's always
>   necessary to specify in rc.conf:
>
>   samba_enable=YES
>
>   to get the script working. You can still control each of the daemons
>   individualy, by disabling/enabling them with:
>
>   nmbd_enable=NO
>   smbd_enable=NO
>   winbindd_enable=YES




The Handbook information is out of date because of this and should be
corrected.


thanks :-)


/Leslie





home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1350992239.88890.YahooMailNeo>