nanobsd configuration

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

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

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