Subject: Re: /usr/pkg/etc/rc.d/
To: NetBSD User's Discussion List <netbsd-users@netbsd.org>
From: None <wojtek@wojtek.from.pl>
List: netbsd-users
Date: 01/28/2001 09:37:58
>
> cd /usr/pkg/etc/rc.d
> for file in *.sh ; do
> mv $file $(basename $file .sh)
> done
> mv * /etc/rc.d
> cd ..
> rmdir /usr/pkg/etc/rc.d
>
> Of course this starts everything without configuration since most
> third-party rc.d scripts don't support use of /etc/rc.subr (which would
> give them the capability to check for their config variable).
thank you. already found another solution which looks to be good as every
.sh in /usr/pkg/etc/rc.d does echo -n " something"
i added execution of all package startups to /etc/rc.local
like
sh /usr/pkg/etc/rc.d/squid.sh