Re: Kernel version check, init scripts
>>"David" == David Huggins-Daines <firstname.lastname@example.org> writes:
David> I could also check for the patch by grepping for 'ipddp' in
David> /boot/System.map-$version... this file is guaranteed to exist
David> if you use make-kpkg, correct? (I would still have to check
David> that $minor > 90 if $major = 1, because earlier 2.1 kernels
David> had a broken version of the IPDDP driver...)
Yes, but the use of make-kpkg is not mandated, so you should
stick to uname or cat /proc/version or cat /proc/ksyms instead.
David> - MacGated, the daemon in the package, doesn't use a config file, so
David> you have to pass it all its configuration on the command-line.
David> I was thinking of creating an /etc/macgated.conf file in the
David> postinst and sourcing it in the init script - is this the
David> recommended course of action?
Sounds like a plan.
I have passed in ignorance through a cycle of many rebirths, seeking
the builder of the house. Continuous rebirth is a painful thing. But
now, housebuilder, I have found you out. You will not build me a
house again. All your rafters are broken, your ridge-pole
shattered. My mind is free from active thought, and has made an end
of craving. 153, 154
Manoj Srivastava <email@example.com> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com