diff options
author | Fabio Rossi <rossi.f@inwind.it> | 2020-05-02 23:56:00 +0200 |
---|---|---|
committer | Fabio Rossi <rossi.f@inwind.it> | 2020-05-03 00:01:52 +0200 |
commit | 472ed079b9cbdfff1f5169b766ee5d6069aaf31a (patch) | |
tree | 8ee229c19f408325c1cee6e40aad54d3777cf677 | |
parent | app-emulation/vmware-modules: fix check for kernel option (diff) | |
download | vmware-master.tar.gz vmware-master.tar.bz2 vmware-master.zip |
openrc aims at using a POSIX compliance sh, replaced a bashism.
This fixes issue #50 on github
Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
-rw-r--r-- | app-emulation/vmware-player/files/vmware-12.5.rc | 8 | ||||
-rw-r--r-- | app-emulation/vmware-workstation/files/vmware-12.5.rc | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/app-emulation/vmware-player/files/vmware-12.5.rc b/app-emulation/vmware-player/files/vmware-12.5.rc index a9d6f22..0bb5ec8 100644 --- a/app-emulation/vmware-player/files/vmware-12.5.rc +++ b/app-emulation/vmware-player/files/vmware-12.5.rc @@ -21,7 +21,7 @@ start() { for mod in /lib/modules/$(uname -r)/misc/vmci.ko \ /lib/modules/$(uname -r)/kernel/drivers/misc/vmw_vmci/vmw_vmci.ko ; do - if [[ -f "${mod}" ]] ; then + if [ -f "${mod}" ] ; then modprobe -v $(basename "${mod}" .ko) eend $? break @@ -35,7 +35,7 @@ start() { for mod in /lib/modules/$(uname -r)/misc/vsock.ko \ /lib/modules/$(uname -r)/kernel/net/vmw_vsock/vmw_vsock_vmci_transport.ko ; do - if [[ -f "${mod}" ]] ; then + if [ -f "${mod}" ] ; then modprobe -v $(basename "${mod}" .ko) eend $? break @@ -68,7 +68,7 @@ stop() { for mod in /lib/modules/$(uname -r)/misc/vsock.ko \ /lib/modules/$(uname -r)/kernel/net/vmw_vsock/vmw_vsock_vmci_transport.ko ; do - if [[ -f "${mod}" ]] ; then + if [ -f "${mod}" ] ; then modprobe -rv $(basename "${mod}" .ko) eend $? break @@ -82,7 +82,7 @@ stop() { for mod in /lib/modules/$(uname -r)/misc/vmci.ko \ /lib/modules/$(uname -r)/kernel/drivers/misc/vmw_vmci/vmw_vmci.ko ; do - if [[ -f "${mod}" ]] ; then + if [ -f "${mod}" ] ; then modprobe -rv $(basename "${mod}" .ko) eend $? break diff --git a/app-emulation/vmware-workstation/files/vmware-12.5.rc b/app-emulation/vmware-workstation/files/vmware-12.5.rc index a9d6f22..0bb5ec8 100644 --- a/app-emulation/vmware-workstation/files/vmware-12.5.rc +++ b/app-emulation/vmware-workstation/files/vmware-12.5.rc @@ -21,7 +21,7 @@ start() { for mod in /lib/modules/$(uname -r)/misc/vmci.ko \ /lib/modules/$(uname -r)/kernel/drivers/misc/vmw_vmci/vmw_vmci.ko ; do - if [[ -f "${mod}" ]] ; then + if [ -f "${mod}" ] ; then modprobe -v $(basename "${mod}" .ko) eend $? break @@ -35,7 +35,7 @@ start() { for mod in /lib/modules/$(uname -r)/misc/vsock.ko \ /lib/modules/$(uname -r)/kernel/net/vmw_vsock/vmw_vsock_vmci_transport.ko ; do - if [[ -f "${mod}" ]] ; then + if [ -f "${mod}" ] ; then modprobe -v $(basename "${mod}" .ko) eend $? break @@ -68,7 +68,7 @@ stop() { for mod in /lib/modules/$(uname -r)/misc/vsock.ko \ /lib/modules/$(uname -r)/kernel/net/vmw_vsock/vmw_vsock_vmci_transport.ko ; do - if [[ -f "${mod}" ]] ; then + if [ -f "${mod}" ] ; then modprobe -rv $(basename "${mod}" .ko) eend $? break @@ -82,7 +82,7 @@ stop() { for mod in /lib/modules/$(uname -r)/misc/vmci.ko \ /lib/modules/$(uname -r)/kernel/drivers/misc/vmw_vmci/vmw_vmci.ko ; do - if [[ -f "${mod}" ]] ; then + if [ -f "${mod}" ] ; then modprobe -rv $(basename "${mod}" .ko) eend $? break |