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

Re: Bug#475361: ITP: chkconfig -- system tool to enable or disable system services



Sune Vuorela <nospam@vuorela.dk> writes:

> #! /bin/sh
>
> /etc/init.d/$1 $2
>
> there you go with your /sbin/service script.

/sbin/service on Red Hat also sanitizes the environment, which I've found
very useful on occasion.  (And does so slightly more intelligently than
env -, I think.)

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: