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

discover's init script



On Wed, Sep 25, 2002 at 10:26:41AM -0300, Henrique de Moraes Holschuh wrote:
> On Wed, 25 Sep 2002, Thomas Poindessous wrote:
> > /etc/init.d/discover doesn't have start,stop,restart options. When you run
> > it with stop option, it does the same as with start option.
> 
> There are buggy scripts in /etc/init.d right now, I think.  It is also
> possible (but kinda improbable) that the above IS the correct behaviour for
> the discover service (do the same thing on stop, start, restart,
> force-reload...).

I don't know what you guys are talking about:

/etc/init.d/discover:

     16 case "$1" in
     17     start|restart) ;;
     18     stop|reload|force-reload) exit 0 ;;
     19 esac

$ dpkg -l discover

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  discover       1.5-1.1        hardware identification system

-- 
G. Branden Robinson                |    The best place to hide something is
Debian GNU/Linux                   |    in documentation.
branden@debian.org                 |    -- Ethan Benson
http://people.debian.org/~branden/ |

Attachment: pgpV9i_5nkLTb.pgp
Description: PGP signature


Reply to: