Package: util-vserver
Version: 0.30.210-7bpo2
Severity: wishlist
Tags: patch
add a script to "/etc/bash_completion.d/vserver" containing:
## start script
have vserver &&
_vserver()
{
local cur vservers
[ -d /var/lib/vservers/ ] || return 0
COMPREPLY=()
cur=${COMP_WORDS[COMP_CWORD]}
vservers=$(ls -d --color=none /var/lib/vservers/* | \
egrep -v '(\.pkg|ARCHIVES|lost\+found)$' | \
while read d; do echo ${d##*/}; done)
if [ $COMP_CWORD -eq 1 ]; then
COMPREPLY=( $(compgen -W "$vservers" -- $cur) )
else if [ $COMP_CWORD -eq 2 ]; then
COMPREPLY=( $(compgen -W "build enter exec suexec service start
stop running status" -- $cur) )
fi
fi
return 0
}
[ "$have" ] && complete -F _vserver vserver
## eof script
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.16-2-vserver-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages util-vserver depends on:
ii debconf 1.4.30.13 Debian configuration management sy
ii iproute 20041019-3 Professional tools to control the
ii libbeecrypt6 4.1.2-3bpo1 open source C library of cryptogra
ii libc6 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an
ii make 3.81-1bpo1 The GNU version of the "make" util
ii net-tools 1.60-10 The NET-3 networking toolkit
-- debconf information excluded
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]