forked from pool/libica
Accepting request 728092 from home:markkp:branches:devel:openSUSE:Factory
Upgrade to version 3.5.0 OBS-URL: https://build.opensuse.org/request/show/728092 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/libica?expand=0&rev=36
This commit is contained in:
committed by
Git OBS Bridge
parent
bb0a38c887
commit
c4a8d70a12
21
z90crypt
Normal file
21
z90crypt
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
MODULE_LIST="pkey zcrypt_pcixcc zcrypt_cex2a zcrypt_cex4 zcrypt rng_core"
|
||||
case "${1}" in
|
||||
start) for module in ${MODULE_LIST}
|
||||
do if ! grep -q ^{$module} /proc/modules ; then
|
||||
modprobe ${module}
|
||||
fi
|
||||
done
|
||||
;;
|
||||
stop) for module in ${MODULE_LIST}
|
||||
do if grep -q ^${module} /proc/modules ; then
|
||||
rmmod ${module}
|
||||
fi
|
||||
done
|
||||
;;
|
||||
esac
|
Reference in New Issue
Block a user