On Fri, May 13, 2011 at 9:50 PM, Tavian Barnes <tavianator@xxxxxxxxxxxxxx> wrote: > $ tail /etc/rc.conf > DAEMONS1=(syslog-ng dbus) > DAEMONS2=(named ifplugd net-profiles @alsa @acpid @ddclient @privoxy > @openntpd @sshd @mysqld @httpd @git-daemon @samba @sensors > @avahi-daemon @cups @crond) > > if [ "$RUNLEVEL" = "5" ]; > then > DAEMONS=(${DAEMONS1[@]} @kdm ${DAEMONS2[@]}) > else > DAEMONS=(${DAEMONS1[@]} ${DAEMONS2[@]}) > fi > > The best of both worlds. That's a neat trick! Beware though, that this kind of stuff is absolutely not supported and might break at any moment. Cheers, Tom