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.70.127.166 H O M E |
Filename | /etc/bash_completion.d/cryptdisks |
Size | 408 |
Permission | rw-r--r-- |
Owner | root : root |
Create time | 27-Apr-2025 10:02 |
Last modified | 02-Nov-2013 01:50 |
Last accessed | 06-Jul-2025 06:52 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
# cryptdisks_{start,stop} completion by first row of crypttab
#
# Copyright 2013 Claudius Hubig <[email protected]>, 2-clause BSD
_cryptdisks() {
local tf;
tf=${TABFILE-"/etc/crypttab"};
COMPREPLY=($(egrep -v "^[[:space:]]*(#|$)" "${tf}" | egrep -o "^${COMP_WORDS[COMP_CWORD]}[^[:space:]]*"));
return 0;
}
complete -F _cryptdisks cryptdisks_start;
complete -F _cryptdisks cryptdisks_stop;
#
# Copyright 2013 Claudius Hubig <[email protected]>, 2-clause BSD
_cryptdisks() {
local tf;
tf=${TABFILE-"/etc/crypttab"};
COMPREPLY=($(egrep -v "^[[:space:]]*(#|$)" "${tf}" | egrep -o "^${COMP_WORDS[COMP_CWORD]}[^[:space:]]*"));
return 0;
}
complete -F _cryptdisks cryptdisks_start;
complete -F _cryptdisks cryptdisks_stop;