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

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

 



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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux