You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
611 B
21 lines
611 B
inst_hook pre-trigger 01 "$moddir/fips.sh" |
|
dracut_install sha512hmac rmmod insmod mount uname |
|
|
|
libdir="lib" |
|
if ldd $(find_binary sha512hmac) |grep -q /lib64/libc; then |
|
libdir="lib64" |
|
fi |
|
|
|
if [ -e /usr/$libdir/libsoftokn3.so ]; then |
|
dracut_install \ |
|
/usr/$libdir/libsoftokn3.so /usr/$libdir/libsoftokn3.chk \ |
|
/usr/$libdir/libfreebl3.so /usr/$libdir/libfreebl3.chk |
|
else |
|
dracut_install \ |
|
/$libdir/libsoftokn3.so /$libdir/libsoftokn3.chk \ |
|
/$libdir/libfreebl3.so /$libdir/libfreebl3.chk |
|
fi |
|
|
|
dracut_install /usr/$libdir/hmaccalc/sha512hmac.hmac |
|
|
|
# vim:ts=8:sw=4:sts=4:et
|
|
|