search for: load_rc_config

Displaying 3 results from an estimated 3 matches for "load_rc_config".

2006 Nov 08
2
freebsd-security Digest, Vol 184, Issue 2
...do_dmesg() { - rm -f ${dmesg_file} + mv -f ${dmesg_file} ${dmesg_file}.prev ( umask 022 ; /sbin/dmesg $rc_flags > ${dmesg_file} ) + cmp -s ${dmesg_file} ${dmesg_file}.prev || \ + logger -p security.warn 'dmesg.boot changed from previous boot' } load_rc_config $name If you like that, I'm willing to discuss it further, and/or commit it and let the howling tell if it's a keeper or not. ;^) -- Where am I, and what am I doing in this handbasket? Wes Peters wes@softweyr.com
2006 Sep 21
3
FreeBSD startup script, can''t set pidfile
...ript: #!/bin/sh utility_enable=${utility_enable-"NO"} utility_flags=${utility_flags-""} utility_pidfile=${utility_pidfile-"/var/run/puppetmasterd.pid"} . /etc/rc.subr name="puppetmasterd" rcvar=`set_rcvar` command="/usr/local/bin/puppetmasterd" load_rc_config $name pidfile="${utility_pidfile}" start_cmd="echo \"Starting ${name}.\"; /usr/bin/nice -5 ${command} ${utility_flags} ${command_args}" run_rc_command "$1" and I have puppetmasterd_enable="YES" set in /etc/rc.conf My script is based on a stan...
2009 Jan 15
5
How to get djbdns to start early enough to satisfy ntpd at boot?
Hi there, I've been a happy djbdns+tinydns user for many, many years. I want to keep using it, so answers of the form "bletch! Use ISC BIND the way BSD intended" will be ignored :-) Having said that, one annoying consequence of my transition some time ago to using ntpd, rather than just setting the clock once-off with ntpdate as I used to, is that the /etc/rc.d mechanism starts