From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Sat 05 Apr 2003 - 16:13:34 BST
On Sat, Apr 05, 2003 at 12:44:16PM +0200, Martin List-Petersen wrote:
> 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.
hmm, if it is so, version 0.22 doesn't know about it
because the path was taken from two lines below ;)
PS: if there is a version where the path is configurable
I would simply use the path two or three lines after
the check ...
> 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