You are not logged in.
Pages: 1
It would be nice to have a service command/function to be able to start daemons with
service samba start
im little lazy to write entire command line
Offline
Ehrm.. no offense, but how the heck is that so much different from typing /etc/rc.d/samba start with TAB completion? Heck, if you're so keen on this, write a little shell script calling /etc/rc.d/$1 with parameter $2, call it "service", and there you have it. Barely a two-liner.
"That's the problem with good advice. Nobody wants to hear it."
-- Dogbert
Offline
the point is that i have a lot of RH machines and im used to type
service ......
just that, a habbit
Offline
miki, u have luck that i'm just _nearly_ as lazy as u are :
write these 2 lines into a file called "service", then copy it to /usr/bin/ and don't forget to chmod +x /usr/bin/service....
#!/bin/sh
exec /etc/rc.d/$1 $2
this will be something like a redhat compatibility script *gg*
greetz
nothing,
maybe I have a perfect signature _someday_
Offline
it is just what i needed
should be in next distro!
Offline
i don't think it will be included because it's a think everyone can include by his/herself, and i don't think that arch will have much of those i'm-too-lazy-to-type-some-more-lines scripts
but if u have some wishes, just post and someone will write u such a script...
nothing,
maybe I have a perfect signature _someday_
Offline
Pages: 1