summaryrefslogtreecommitdiff
path: root/community/open-vm-tools/open-vm-tools.rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'community/open-vm-tools/open-vm-tools.rc.d')
-rw-r--r--community/open-vm-tools/open-vm-tools.rc.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/community/open-vm-tools/open-vm-tools.rc.d b/community/open-vm-tools/open-vm-tools.rc.d
index 555fa1535..0c9221489 100644
--- a/community/open-vm-tools/open-vm-tools.rc.d
+++ b/community/open-vm-tools/open-vm-tools.rc.d
@@ -13,7 +13,7 @@ case "$1" in
if [ "$VM_DRAG_AND_DROP" == "yes" ]; then
VMBLOCK=`grep -w vmblock /proc/modules`
- [ -z "$VMBLOCK" ] && modprobe -f vmblock
+ [ -z "$VMBLOCK" ] && modprobe vmblock
if [ $? -gt 0 ]; then
stat_fail
exit 1
@@ -36,7 +36,7 @@ case "$1" in
for m in vmhgfs vmsync; do
VMMOD=`grep -w $m /proc/modules`
[ -z "$VMMOD" ] && \
- { modprobe -f $m
+ { modprobe $m
if [ $? -gt 0 ]; then
stat_fail
exit 1