K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / etc / bash_completion.d /
server ip : 104.21.89.46

your ip : 172.69.214.173

H O M E


Filename/etc/bash_completion.d/insserv
Size736
Permissionrw-r--r--
Ownerroot : root
Create time27-Apr-2025 09:50
Last modified07-May-2013 14:07
Last accessed06-Jul-2025 08:09
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
# insserv(8) completion
#
# Copyright (c) 2009 Kel Modderman <[email protected]>
#

have insserv &&
_insserv()
{
local cur prev sysvdir services options

cur=`_get_cword`
prev=${COMP_WORDS[COMP_CWORD-1]}

[ -d /etc/rc.d/init.d ] && sysvdir=/etc/rc.d/init.d \
|| sysvdir=/etc/init.d

services=( $(echo $sysvdir/!(README*|*.dpkg*|*.rpm@(orig|new|save))) )
services=( ${services[@]#$sysvdir/} )
options=( -c --config -d -f -n -o --override -p --path -r -v )

case "$prev" in
-c|--config)
_filedir
;;
-o|--override|-p|--path)
_filedir -d
;;
*)
COMPREPLY=( $( compgen -W '${options[@]} ${services[@]}' -- \
$cur ) )
;;
esac

return 0
} &&
complete -F _insserv insserv