From: Arkadiusz Miƛkiewicz Date: Fri, 3 Dec 2010 11:33:29 +0000 (+0000) Subject: Bugfix (bring in cryptsetup; cleanups). X-Git-Tag: 0.4.3.6~2 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=b92a94f32380468b454de66f8f061bd0ece8fda2;p=projects%2Frc-scripts.git Bugfix (bring in cryptsetup; cleanups). svn-id: @11935 --- diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs index 1649b1c2..39acf4bb 100755 --- a/rc.d/init.d/netfs +++ b/rc.d/init.d/netfs @@ -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