Skip to content
Snippets Groups Projects
Commit 603c0154 authored by micah's avatar micah :speech_balloon:
Browse files

r218@um: micah | 2005-12-27 09:59:40 -0500

 Changed some info output to debug
parent 3b59f10f
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ fi
# If needed, make sure that the specified vserver exists and is running.
if [ $usevserver ]
then
info "Examining vserver '$vsname'"
debug "Examining vserver '$vsname'"
# does it exist ?
vroot="$VROOTDIR/$vsname"
[ -d $vroot ] || fatal "vserver '$vsname' does not exist at '$vroot'"
......@@ -60,7 +60,7 @@ else
fatal "User $user not found in /etc/passwd"
fi
userhome="$vroot$userhome"
info "User home set to: $userhome"
debug "User home set to: $userhome"
[ -f $userhome/.my.cnf ] || fatal "Can't find config file in $userhome/.my.cnf"
else
userhome=`getent passwd "$user" | awk -F: '{print $6}'`
......@@ -68,7 +68,7 @@ else
then
fatal "User $user not found in /etc/passwd"
fi
info "User home set to: $userhome"
debug "User home set to: $userhome"
[ -f $userhome/.my.cnf ] || fatal "Can't find config file in $userhome/.my.cnf"
fi
fi
......@@ -121,10 +121,10 @@ then
then
home=`$VSERVER $vsname exec getent passwd "root" | awk -F: '{print $6}'`
home="$vroot$home"
info "Home set to: $home"
debug "Home set to: $home"
else
home=`getent passwd "root" | awk -F: '{print $6}'`
info "Home set to: $home"
debug "Home set to: $home"
fi
[ -d $home ] || fatal "Can't find root's home directory ($home)."
mycnf="$home/.my.cnf"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment