On Sat, 2003-04-05 at 05:38, Herbert Poetzl wrote:
> 
> Hi Jack!
> 
> would it hurt to change the 
> 
>   if [ $# != 2 ] ; then
> 
> line in vserver/chkconfig to 
> 
>   if [ $# != 2 -a ! -x /vservers/$VSERVER/sbin/chkconfig ] ; then
> 
> so that 
> 
>   vserver <name> chkconfig --list [<name>]
>   vserver <name> chkconfig --add <name>
>   vserver <name> chkconfig --del <name>
> 
> would show the current service configuration and
> add/remove services on systems using chkconfig anyway?
> 

I don't know if hardcoding the "/vservers" path is a good idea, since it
is configurable in /etc/vserver.conf (option VSERVERS_ROOT). This
applies at least for the Debian packages of the vserver software,
haven't checked for the original tar-ball yet.

-- 
Regards,
Martin List-Petersen
martin at list-petersen dot dk
--
The question of whether computers can think is just like the question of
whether submarines can swim.
                -- Edsger W. Dijkstra

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to