[packages/dlm] Use 'modprobe -q' instead of 2>/dev/null
jajcus
jajcus at pld-linux.org
Fri Nov 2 08:37:03 CET 2012
commit cb5cb0c6765544c0db46fb74a789ee158348b758
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Fri Nov 2 08:36:42 2012 +0100
Use 'modprobe -q' instead of 2>/dev/null
dlm.init | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/dlm.init b/dlm.init
index e516fd6..c948e8a 100644
--- a/dlm.init
+++ b/dlm.init
@@ -13,7 +13,7 @@ DLM_CONTROLD_OPTS=""
[ -f /etc/sysconfig/dlm ] && . /etc/sysconfig/dlm
setup() {
- modprobe dlm > /dev/null 2>&1
+ /sbin/modprobe -q dlm
mount -t configfs none /sys/kernel/config > /dev/null 2>&1
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dlm.git/commitdiff/cb5cb0c6765544c0db46fb74a789ee158348b758
More information about the pld-cvs-commit
mailing list