/[vps]/baselayout-vserver/branches/baselayout-1_12/sbin/depscan.sh
Gentoo

Diff of /baselayout-vserver/branches/baselayout-1_12/sbin/depscan.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 200 Revision 201
7if [[ $1 == "--debug" ]] ; then 7if [[ $1 == "--debug" ]] ; then
8 shift 8 shift
9 set -x 9 set -x
10fi 10fi
11 11
12if [[ ! -d ${svcdir} ]]; then 12if [[ ! -d ${svcdir} ]] ; then
13 if ! mkdir -p -m 0755 "${svcdir}" 2>/dev/null ; then 13 if ! mkdir -p -m 0755 "${svcdir}" 2>/dev/null ; then
14 eerror "Could not create needed directory '${svcdir}'!" 14 eerror "Could not create needed directory '${svcdir}'!"
15 fi 15 fi
16fi 16fi
17 17
18for x in softscripts snapshot options daemons \ 18for x in softscripts snapshot options daemons \
19 started starting inactive stopping failed \ 19 started starting inactive stopping failed \
20 exclusive exitcodes ; do 20 exclusive exitcodes restart ; do
21 if [[ ! -d "${svcdir}/${x}" ]] ; then 21 if [[ ! -d "${svcdir}/${x}" ]] ; then
22 if ! mkdir -p -m 0755 "${svcdir}/${x}" 2>/dev/null ; then 22 if ! mkdir -p -m 0755 "${svcdir}/${x}" 2>/dev/null ; then
23 eerror "Could not create needed directory '${svcdir}/${x}'!" 23 eerror "Could not create needed directory '${svcdir}/${x}'!"
24 fi 24 fi
25 fi 25 fi

Legend:
Removed from v.200  
changed lines
  Added in v.201

  ViewVC Help
Powered by ViewVC 1.1.20