On 26 Jun 2001, Chmouel Boudjnah wrote:
> Sebastian Dransfeld <[EMAIL PROTECTED]> writes:
>
> > The %preun seems totally screwed.
>
> ............. detail please..
>
This in one long line:
if [ $1 = 0 ]; then service random stop > /dev/null 2>/dev/null || :;
/sbin/chkconfig --del random; fi if [ $1 = 0 ]; then service netfs stop >
/dev/null 2>/dev/null || :; /sbin/chkconfig --del netfs; fi if [ $1 = 0 ];
then service network stop > /dev/null 2>/dev/null || :; /sbin/chkconfig
--del network; fi if [ $1 = 0 ]; then service rawdevices stop > /dev/null
2>/dev/null || :; /sbin/chkconfig --del rawdevices; fi if [ $1 = 0 ]; then
service usb stop > /dev/null 2>/dev/null || :; /sbin/chkconfig --del usb;
fi if [ $1 = 0 ]; then service sound stop > /dev/null 2>/dev/null || :;
/sbin/chkconfig --del sound; fi if [ $1 = 0 ]; then service alsa stop >
/dev/null 2>/dev/null || :; /sbin/chkconfig --del alsa; fi if [ $1 = 0 ];
then service kheader stop > /dev/null 2>/dev/null || :; /sbin/chkconfig
--del kheader; fi
Should perhaps be some linebreaks, and why som many if's? Isn't one
enough?
seb