[patch] support for unusual terminfo location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

the following patch makes the 95terminfo module work on gentoo.

thanks
kind regards
Thilo
diff --git a/modules.d/95terminfo/install b/modules.d/95terminfo/install
index 7f14aa1..4d8f395 100755
--- a/modules.d/95terminfo/install
+++ b/modules.d/95terminfo/install
@@ -1,3 +1,8 @@
 #!/bin/bash
 # terminfo bits make things work better if you fall into interactive mode
-dracut_install $(find /lib/terminfo -type f)
\ No newline at end of file
+TERMINFODIR="/lib/terminfo"
+
+[ ! -d ${TERMINFODIR} -a -d "/etc/terminfo" ] && \
+	TERMINFODIR="/etc/terminfo"
+
+dracut_install $(find ${TERMINFODIR} -type f)

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux