nanobsd configuration

Jack Mc Lauren jack.mclauren at yahoo.com
Tue Oct 23 11:37:21 UTC 2012





________________________________
 From: Arthur Chance <freebsd at qeng-ho.org>
To: Jack Mc Lauren <jack.mclauren at yahoo.com> 
Cc: "freebsd-questions at freebsd.org" <freebsd-questions at 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 ? 


More information about the freebsd-questions mailing list