Beta Shell
v2.0 ยท web2.us.cloudlogin.co
[FM]
[CMD]
[PHP]
[DB]
[INFO]
[SEC]
File Manager
~
/
usr
/
lib
/
dracut
/
modules.d
/
95terminfo
Upload
3 items
Name
Size
Perms
Modified
Actions
[ .. / .. ]
module-setup.sh
528 B
-rwxr-xr-x
2018-10-08 13:38:33
Edit
Del
Editing: module-setup.sh
(528 B)
Path: /usr/lib/dracut/modules.d/95terminfo/module-setup.sh
Back
#!/bin/bash # called by dracut install() { local _terminfodir # terminfo bits make things work better if you fall into interactive mode for _terminfodir in /lib/terminfo /etc/terminfo /usr/share/terminfo; do [ -f ${_terminfodir}/l/linux ] && break done if [ -d ${_terminfodir} ]; then for i in "l/linux" "v/vt100" "v/vt102" "v/vt220"; do inst_dir "$_terminfodir/${i%/*}" $DRACUT_CP -L -t "${initdir}/${_terminfodir}/${i%/*}" "$_terminfodir/$i" done fi }