On Thu, May 20, 2004 at 04:59:41PM +1000, Darren Reed wrote: > > It's not that complicated...all you need do is rename ipfboot to ipfilter. > > And then change the Makefile appropriately.
If there was an ipfboot to rename, yes. However, since there is no ipfboot
in the Linux directory, Linux users will need to write their own startup
script (and name it ipfilter).
>
> Is there any way to know which version of "chkconfig" is present,
> and/or, whether or not to use rpmbuild or rpm -bb ?
>
rpmbuild wasn't split out of rpm until rpm v4.0, if memory serves me
correctly. So maybe something like the following and then parse the output?
$ rpm --version
RPM version 3.0.6
chkconfig...Hmm...This is off the top of my head, but you could cat
/etc/init.d/network, and if you find:
### BEGIN INIT INFO
then you're looking at a SuSE style chkconfig. If you find:
# chkconfig:
then you're looking at a RedHat system.
David Bogen
--
[EMAIL PROTECTED]
GPG ID: 51D209BF / C491 8B1D C8C2 A3B8 E134 81DE 5D7E 4D7B 51D2 09BF
Public key: http://www.bogen.org/staticpages/index.php/public-key
pgpn1HJ6QzzhO.pgp
Description: PGP signature
