[PATCH] explain gotchas when using freesbie.default.conf / freesbie.conf

Marco Molteni <[email protected]>
Newsgroups gmane.os.freebsd.freesbie
Message-ID <[email protected]>
I've been bitten by this one ;-)

-- 
He who receives an idea from me, receives instruction himself
without lessening mine; as he who lights his taper at mine,
receives light without darkening me. -- Thomas Jefferson

-- 
FreeSBIE mailing list (http://www.freesbie.org)
freesbie-diff2.txt (text/plain, 1 KB)
Index: freesbie.defaults.conf
===================================================================
--- freesbie.defaults.conf	(revision 8)
+++ freesbie.defaults.conf	(working copy)
@@ -9,10 +9,20 @@
 # $FreeBSD$
 # $Id: freesbie.defaults.conf,v 1.6 2005/11/15 22:59:42 saturnero Exp $
 #
-# Don't modify it, create your own conf/freesbie.conf instead, or set
+# Don't modify this file, create your own conf/freesbie.conf instead, or set
 # an environment variable called FREESBIE_CONF to the absolute path of
 # your configuration file. Alternatively, you can set the variables
-# you want to override as environment variables
+# you want to override as environment variables.
+#
+# Hint: when creating your own file, do not copy freesbie.defaults.conf,
+# create it anew and override only the variables you need. Pay attention
+# not to use the syntax
+# BASEDIR=${BASEDIR:-"/foo/bla"}
+# otherwise you'll end up using the default value of BASEDIR instead of
+# "foo/bla" !
+# Simply write:
+# BASEDIR="/foo/bla"
+
 
 # Variables
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.