Re: rc.conf and loader.conf

2012-10-26 Thread Polytropon
On Fri, 26 Oct 2012 07:37:09 +0200 (CEST), Trond Endrestøl wrote:
 However, I like to keep the lines in the /etc/rc.conf file in the same 
 order as they appear in the /etc/defaults/rc.conf file, and place 
 local stuff (from /usr/local/etc/rc.d) in alphabetical order at the 
 bottom of the file.

Slight deviation: I tend to group settings according to their
functionality (network, server stuff, console settings etc.),
and also have local additions at the end of the file. However,
FreeBSD also supports rc.conf.local to keep them.

The rc.conf file can be seen as a shell script, containing
variable assignments. It is that simple. It implies that you
can arrange everything (with newlines, comments, in groups,
as you wish) as long as it is valid shell syntax.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


rc.conf and loader.conf

2012-10-25 Thread Ashkan Rahmani
hi,
what is the best order of items in rc.conf and loader.conf?
actually items order is important?

Best regards,
Ashkan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: rc.conf and loader.conf

2012-10-25 Thread Devin Teske

On Oct 25, 2012, at 5:17 PM, Ashkan Rahmani wrote:

 hi,
 what is the best order of items in rc.conf and loader.conf?
 actually items order is important?
 

order does not matter (unless you have duplicates -- in which case later 
assignments override previous ones).
-- 
Devin

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: rc.conf and loader.conf

2012-10-25 Thread Erich Dollansky
Hi,

On Fri, 26 Oct 2012 03:47:29 +0330
Ashkan Rahmani ashkan...@gmail.com wrote:

 hi,
 what is the best order of items in rc.conf and loader.conf?
 actually items order is important?
 
as you know already, the order does not matter at all. But there some
modules which cannot coexist. 

I prefer to build a custom kernel over loading modules. Of course, as
this does not always lead to a perfect solution, I still have some
kernel modules which are loaded at boot time or even after the system
is up and running via a script I start manually.

With other words, FreeBSD gives you all the freedom you need to get the
best solution for your needs.

Erich


 Best regards,
 Ashkan
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: rc.conf and loader.conf

2012-10-25 Thread Trond Endrestøl
On Fri, 26 Oct 2012 03:47+0330, Ashkan Rahmani wrote:

 hi,
 what is the best order of items in rc.conf and loader.conf?
 actually items order is important?

Order is not important, as explained by someone else on the list.

However, I like to keep the lines in the /etc/rc.conf file in the same 
order as they appear in the /etc/defaults/rc.conf file, and place 
local stuff (from /usr/local/etc/rc.d) in alphabetical order at the 
bottom of the file.

Just my $0.02.

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org