[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

I do not need "prerm"...



Hello *,

in my debian/rules I use:

    dh_installinit  -- start 80 S .

and 'dh_installdeb' create those files

    postinst
    prerm
    postrm

but if I remove the package I get every time the message, that there
is no running daemon found.  This is right, because in my init script
I have:

    case "$1" in
      start|restart|reload|force-reload)
        echo -n "Starting $DESC: $NAME: "
        tdlinuxcounter --boot
        ;;
    stop)
        ;;

It create only at startup an uniq ID.  Thats all.  Now I was searching
the manuals how to stop 'dh_installdeb' to create the "prerm".

Any hints ?

Thanks and good evening
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: