creating rc.d scripts
Jim Stapleton
stapleton.41 at gmail.com
Thu Mar 22 15:43:45 UTC 2007
This:
(0) ~ > sudo rcorder /usr/local/etc/rc.d/* /etc/rc.d/*
/etc/rc.d/dumpon
/etc/rc.d/initrandom
/etc/rc.d/geli
/etc/rc.d/gbde
/etc/rc.d/encswap
/etc/rc.d/ccd
/etc/rc.d/swap1
/etc/rc.d/mdconfig
/etc/rc.d/ramdisk
/etc/rc.d/early.sh
/etc/rc.d/fsck
/etc/rc.d/root
/etc/rc.d/mountcritlocal
/etc/rc.d/var
/etc/rc.d/cleanvar
/etc/rc.d/random
/etc/rc.d/adjkerntz
/etc/rc.d/atm1
/etc/rc.d/hostname
/etc/rc.d/ipfilter
/etc/rc.d/ipnat
/etc/rc.d/ipfs
/etc/rc.d/kldxref
/etc/rc.d/sppp
/etc/rc.d/addswap
/etc/rc.d/auto_linklocal
/etc/rc.d/sysctl
/etc/rc.d/serial
/etc/rc.d/pccard
/etc/rc.d/netif
/etc/rc.d/ip6addrctl
/etc/rc.d/atm2
/etc/rc.d/pfsync
/etc/rc.d/pflog
/etc/rc.d/pf
/etc/rc.d/isdnd
/etc/rc.d/ppp
/etc/rc.d/routing
/etc/rc.d/ip6fw
/etc/rc.d/network_ipv6
/etc/rc.d/devd
/etc/rc.d/ipsec
/etc/rc.d/ipfw
/etc/rc.d/nsswitch
/etc/rc.d/mroute6d
/etc/rc.d/route6d
/etc/rc.d/mrouted
/etc/rc.d/routed
/etc/rc.d/NETWORKING
/etc/rc.d/mountcritremote
/etc/rc.d/devfs
/etc/rc.d/ipmon
/etc/rc.d/mdconfig2
/etc/rc.d/ramdisk-own
/etc/rc.d/newsyslog
/etc/rc.d/syslogd
/etc/rc.d/savecore
/etc/rc.d/ldconfig
/etc/rc.d/archdep
/etc/rc.d/abi
/etc/rc.d/SERVERS
/etc/rc.d/named
/etc/rc.d/ntpdate
/etc/rc.d/rpcbind
/etc/rc.d/nisdomain
/etc/rc.d/ypserv
/etc/rc.d/ypxfrd
/etc/rc.d/ypupdated
/etc/rc.d/ypbind
/etc/rc.d/ypset
/etc/rc.d/yppasswdd
/etc/rc.d/wpa_supplicant
/etc/rc.d/accounting
/etc/rc.d/nfsclient
/etc/rc.d/amd
/etc/rc.d/atm3
/etc/rc.d/auditd
/etc/rc.d/tmp
/etc/rc.d/cleartmp
/etc/rc.d/dmesg
/etc/rc.d/ike
/etc/rc.d/ipxrouted
/etc/rc.d/kerberos
/etc/rc.d/kadmind
/etc/rc.d/keyserv
/etc/rc.d/kpasswdd
/etc/rc.d/quota
/etc/rc.d/nfsserver
/etc/rc.d/mountd
/etc/rc.d/nfsd
/etc/rc.d/nfslocking
/etc/rc.d/pppoed
/etc/rc.d/pwcheck
/etc/rc.d/virecover
/etc/rc.d/DAEMON
/etc/rc.d/watchdogd
/etc/rc.d/usbd
/etc/rc.d/ugidfw
/etc/rc.d/timed
/usr/local/etc/rc.d/gkrellmd
/usr/local/etc/rc.d/mythbackend
/usr/local/etc/rc.d/sb_server
/usr/local/etc/rc.d/sb_server~
/usr/local/etc/rc.d/svnserve
/etc/rc.d/apm
/etc/rc.d/apmd
/etc/rc.d/bootparams
/etc/rc.d/hcsecd
/etc/rc.d/bthidd
/etc/rc.d/local
/etc/rc.d/lpd
/etc/rc.d/motd
/etc/rc.d/mountlate
/etc/rc.d/ntpd
/etc/rc.d/powerd
/etc/rc.d/rarpd
/etc/rc.d/rtadvd
/etc/rc.d/rwho
/etc/rc.d/sdpd
/etc/rc.d/LOGIN
/etc/rc.d/syscons
/etc/rc.d/sshd
/etc/rc.d/sendmail
/usr/local/etc/rc.d/ezjail.sh
/etc/rc.d/cron
/etc/rc.d/jail
/etc/rc.d/localpkg
/etc/rc.d/netoptions
/etc/rc.d/securelevel
/etc/rc.d/resolv
/etc/rc.d/power_profile
/etc/rc.d/pcvt
/etc/rc.d/othermta
/etc/rc.d/natd
/etc/rc.d/msgs
/etc/rc.d/moused
/etc/rc.d/mixer
/etc/rc.d/inetd
/etc/rc.d/hostapd
/etc/rc.d/geli2
/etc/rc.d/ftpd
/etc/rc.d/dhclient
/etc/rc.d/bsnmpd
/etc/rc.d/bridge
/etc/rc.d/bluetooth
/etc/rc.d/bgfsck
/usr/local/etc/rc.d/vpnc.sh.sample
/usr/local/etc/rc.d/snmptrapd
/usr/local/etc/rc.d/snmpd
/usr/local/etc/rc.d/dbus
/usr/local/etc/rc.d/polkitd
/usr/local/etc/rc.d/openvpn
/usr/local/etc/rc.d/mysql-server
/usr/local/etc/rc.d/mdnsd
/usr/local/etc/rc.d/kdelibs.sh
/usr/local/etc/rc.d/kdc.sh.sample
/usr/local/etc/rc.d/hald
/usr/local/etc/rc.d/fusefs
/usr/local/etc/rc.d/ffserver
/usr/local/etc/rc.d/cupsd
/usr/local/etc/rc.d/avahi-daemon.sh
/usr/local/etc/rc.d/avahi-dnsconfd.sh
/usr/local/etc/rc.d/apache.sh
/usr/local/etc/rc.d/001slpd.sh
Thanks,
-Jim Stapleton
On 3/21/07, Brian A. Seklecki <bseklecki at collaborativefusion.com> wrote:
> what does: $ sudo rcorder /usr/local/etc/rc.d/* /etc/rc.d/*
>
> ..look like?
>
> ~BAS
>
> On Wed, 2007-03-21 at 10:57 -0700, Chuck Swiger wrote:
> > On Mar 21, 2007, at 10:52 AM, Jim Stapleton wrote:
> > > I created a script in my /usr/local/etc/rc.d directory, but for some
> > > reason it doesn't auto start when I start my machine. I added entries
> > > to the rc.conf that I thought should work, but they did not. On a
> > > related not, my rc.conf file doesn't seem to disable autostart of
> > > sendmail. Could anyone advise me?
> >
> > Your rc script is probably not working because it might not find
> > python under /usr/local/bin unless you explicitly set $PATH to
> > include that directory.
> >
> > Secondly, you want to use sendmail_enable="NONE" rather than "NO" if
> > you want to completely disable all of sendmail. Setting it to "NO"
> > means that there is no sendmail daemon listening on port 25, but
> > there will still be a local client mqueue runner spawned to handle
> > local deliveries.
> >
>
>
More information about the freebsd-questions
mailing list