packages: systemd/pld-storage-init.sh - do non-fs checks first

glen glen at pld-linux.org
Sun Mar 18 21:36:03 CET 2012


Author: glen                         Date: Sun Mar 18 20:36:03 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- do non-fs checks first

---- Files affected:
packages/systemd:
   pld-storage-init.sh (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/systemd/pld-storage-init.sh
diff -u packages/systemd/pld-storage-init.sh:1.1 packages/systemd/pld-storage-init.sh:1.2
--- packages/systemd/pld-storage-init.sh:1.1	Wed Mar 14 23:01:09 2012
+++ packages/systemd/pld-storage-init.sh	Sun Mar 18 21:35:57 2012
@@ -3,7 +3,7 @@
 # Read functions
 . /lib/rc-scripts/functions
 
-if [ -x /sbin/multipath ] && ! is_no "$DM_MULTIPATH"; then
+if ! is_no "$DM_MULTIPATH" && [ -x /sbin/multipath ]; then
 	modprobe -s dm-mod >/dev/null 2>&1
 	modprobe -s dm-multipath >/dev/null 2>&1
 	/sbin/multipath -u -v 0
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/systemd/pld-storage-init.sh?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list