Author: arekm
Date: Fri Dec  3 12:33:29 2010
New Revision: 11935

Modified:
   rc-scripts/trunk/rc.d/init.d/netfs
Log:
Bugfix (bring in cryptsetup; cleanups).

Modified: rc-scripts/trunk/rc.d/init.d/netfs
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/netfs  (original)
+++ rc-scripts/trunk/rc.d/init.d/netfs  Fri Dec  3 12:33:29 2010
@@ -11,7 +11,8 @@
 #             CIFS (Lan Manager/Windows), and NCP (NetWare) mount points.
 
 [ -f /etc/sysconfig/network ] || exit 0
-. /etc/init.d/functions
+. /etc/rc.d/init.d/functions
+. /etc/rc.d/init.d/cryptsetup
 . /etc/sysconfig/network
 
 # nfs uses own script for that
@@ -55,7 +56,7 @@
            fi
            if [ -x /sbin/lvm ]; then
                if /sbin/lvm vgscan > /dev/null 2>&1 ; then
-                      run_cmd "Setting up Logical Volume Management:" 
/sbin/lvm vgchange -a y
+                      run_cmd "Setting up Logical Volume Management" /sbin/lvm 
vgchange -a y
                fi
            fi
 
@@ -157,7 +158,7 @@
        exit $?
        ;;
   *)
-       echo $"Usage: $0 {start|stop|restart|reload|status}"
+       msg_usage "$0 {start|stop|restart|reload|status}"
        exit 2
 esac
 
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to