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

Re: What's the difference between /etc/init.d and /sbin/service



Nathan Huang wrote:
> [mirandam charon ~]$ su -c '/etc/init.d/NetworkManager stop'

That's the braindead Debian way and should not be used in Fedora, that's
what the "service" command is for.

It's available even for Debian:
http://packages.debian.org/sid/chkconfig

Ubuntu these days ships a /usr/bin/service (why in /usr/bin??) as part of
the following "essential" package:
http://packages.ubuntu.com/jaunty/sysvinit-utils

Fedora has been using "service" since basically forever (it was already
there in Red Hat Linux). And you should not have to specify "/sbin" as it
has been added to the PATH for all users in F10.

        Kevin Kofler


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