You are not logged in.

#1 2012-07-19 00:23:20

ArchVortex
Retired
From: Ts’elxweyeqw, Canada
Registered: 2011-04-01
Posts: 1,464

Possible Cleanup Change to rc.conf

http://projects.archlinux.org/initscrip … d27ae900f7

This doesn't affect us much as we already run an uncommented stripped down rc.conf but those installing a new pure Arch system may or may not like the possible upcoming changes. This is a continuation of the cleanup of rc.conf from January (NETWORKING comments for configuration, etc.). For those new to Arch, it's probably advantageous to see the comments directly and see what the options are rather than opening another terminal to open a manpage.


You have the capacity to learn from mistakes. You'll learn a lot today.
FP:E5F8 7DBA 8128 9ACB 75F7 7279 BE34 AB66 76D9 16DE
KEY ID:76D916DE
Currently running ArchBang / LFS / OpenSUSE Tumbleweed

Offline

#2 2012-07-19 01:20:38

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,798

Re: Possible Cleanup Change to rc.conf

#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# See 'rc.conf(5)' for more details
#

DAEMONS=(syslog-ng network crond)

Nice and simple .....


Comments, suggestions, donations please feel free to contact me mrgreen(at)archbang(dot)org

Offline

#3 2012-08-09 03:08:43

handy
Member
Registered: 2011-11-03
Posts: 501

Re: Possible Cleanup Change to rc.conf

@Mr Green: It's not necessarily just quite that nice & simple.

Following the instructions in the Arch wiki made my rc.conf look like this & modified another file or two as well:

#
# /etc/rc.conf - configuration file for initscripts
#
# Most of rc.conf has been replaced by various other configuration
# files. See archlinux(7) for details.
#
# For more details on rc.conf see rc.conf(5).
#
#====================

#-> DAEMONS ARRAY <-

DAEMONS=(@syslog-ng ufw network rpcbind nfs-common nfs-server @netfs @polipo @crond @ssh  @sensors @dbus @alsa @stb-sdmin @gpm @udisks)

#====================

#-> LOCALIZATION <-

TIMEZONE="Australia/Sydney"
HARDWARECLOCK="UTC"
KEYMAP="us"
LOCALE="en_AU.UTF-8"
DAEMON_LOCALE="no"
USECOLOR="yes"

#====================

#-> NETWORK <-

HOSTNAME="rightpc"
interface=eth0
# address=
# netmask=
# gateway=

#====================

#-> HARDWARE <-

MODULES=(sg r8168)

#====================

I expect that my rc.conf could be modified to be a little cleaner but it doesn't really bother me. I kind of liked having so many things accessible from the one file (easy for me to remember where to look!).

Offline

Board footer

Powered by FluxBB