[hblug] crazy printer
Michael Adams
linux_mike at paradise.net.nz
Mon Feb 19 10:59:55 NZDT 2007
On Mon, 19 Feb 2007 09:26:17 +1300
Steven Gilberd wrote:
> "What i was unaware of until you pointed it out recently was that not
> all distros use the "service" command to simplify the
> start/stop/restart/status calls. That little pearl was another "aha"
> moment for me."
>
> That command is extremely easy to add. Just stick the following script
> sonewhere in your path (I usually go for /usr/bin/service) and make it
> executable.
>
> #! /bin/sh
> /etc/init.d/$1 $2
> exit 0
>
> That's all there is to it! I'm sure someone could come up with a
> fancier one, but that does the trick for me.
>
Thanks, nice tip!
More information about the HBLUG
mailing list