]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
Bugfix (bring in cryptsetup; cleanups).
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 3 Dec 2010 11:33:29 +0000 (11:33 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 3 Dec 2010 11:33:29 +0000 (11:33 +0000)
svn-id: @11935

rc.d/init.d/netfs

index 1649b1c2aea25323138f40d0c6a49f890c062e3a..39acf4bb71d6b4ea49c8e75daa5f380db6f8e569 100755 (executable)
@@ -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 @@ case "$1" in
            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 @@ case "$1" in
        exit $?
        ;;
   *)
-       echo $"Usage: $0 {start|stop|restart|reload|status}"
+       msg_usage "$0 {start|stop|restart|reload|status}"
        exit 2
 esac
 
This page took 0.09412 seconds and 4 git commands to generate.