From owner-freebsd-questions@FreeBSD.ORG Thu Mar 22 15:43:45 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 488EF16A4EA for ; Thu, 22 Mar 2007 15:43:45 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id 3F92513C458 for ; Thu, 22 Mar 2007 15:43:44 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so1442260nfc for ; Thu, 22 Mar 2007 08:43:42 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Z5YDlBjHSpMYf0k38jOEiEYfA8Axrz3GTGZJNNbQ6aSJvely7p9F4bLptDDOYN9ci8WxFyNJL3wvam3n0carSi3Zz6VckjvckJGMd1Q7yxVOpryg2anVqwIjJ17ZOBN5DRDR9tCKabdfSGIlBu2jxDfmKjSjJcTUSpg5y9E/E1Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TAdLgY8wrm+lNxFeQl5vZHsuHb7bsCgH+nbrwz/U97k2NN4K5Bn0lgRaiTjndO8N5MEez5rmITR2y7NS/hP8cYD81Yl+kvVadvGen1SVlPe3BPRatOWqS2FdeAzUbUpInw/mfsU6uWB62uydS9QnYhdNXxl2zmcQkqRhZTp6Wxg= Received: by 10.82.136.4 with SMTP id j4mr4322812bud.1174578222035; Thu, 22 Mar 2007 08:43:42 -0700 (PDT) Received: by 10.82.191.16 with HTTP; Thu, 22 Mar 2007 08:43:41 -0700 (PDT) Message-ID: <80f4f2b20703220843j573ee612n4340a1b25a1149f8@mail.gmail.com> Date: Thu, 22 Mar 2007 11:43:41 -0400 From: "Jim Stapleton" To: "Brian A. Seklecki" In-Reply-To: <1174509091.8113.0.camel@ingress> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <80f4f2b20703211052q3e23a6b8lafbb30975fd1a5ac@mail.gmail.com> <1174509091.8113.0.camel@ingress> Cc: freebsd-questions@freebsd.org Subject: Re: creating rc.d scripts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2007 15:43:45 -0000 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 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. > > > >