Fixed a few typos.

pull/3/head
Ghost1227 15 years ago
parent 3274dddc41
commit 9c0761da35

@ -42,7 +42,7 @@ if [[ -f /etc/cdmrc ]]; then
source /etc/cdmrc source /etc/cdmrc
count=0 count=0
while [[ ${count} -lt ${#userconfig[@]} ]]; do while [[ ${count} -lt ${#userconfig[@]} ]]; do
if [[ "$USER" == "${#userconfig[${count}]}" ]]; then if [[ "$USER" == "${userconfig[${count}]}" ]]; then
${userconfig[${count}]} ${userconfig[${count}]}
fi fi
let count=count+1 let count=count+1
@ -141,7 +141,7 @@ mainmenu() {
# Check if console access is allowed # Check if console access is allowed
if $(checkyesno allowconsole); then if $(checkyesno allowconsole); then
if $(checkyesno allowshutdown); then if ! $(checkyesno allowshutdown); then
let halt=99 let halt=99
fi fi
let console=${#wmdisplist[@]}+countfrom let console=${#wmdisplist[@]}+countfrom
@ -150,7 +150,7 @@ mainmenu() {
# Check if shutdown access is allowed # Check if shutdown access is allowed
if $(checkyesno allowshutdown); then if $(checkyesno allowshutdown); then
if $(checkyesno allowconsole); then if ! $(checkyesno allowconsole); then
let halt=${#wmdisplist[@]} let halt=${#wmdisplist[@]}
else else
let halt=${#wmdisplist[@]}+1 let halt=${#wmdisplist[@]}+1
@ -235,15 +235,15 @@ xstart() {
if $(checkyesno loginshell); then if $(checkyesno loginshell); then
if [[ ${wm_bin} == "gnome-session" ]]; then if [[ ${wm_bin} == "gnome-session" ]]; then
exec ck-launch-session bash --login -c "startx $wm_bin -- :${serverargs} &> /dev/null" & exec ck-launch-session bash --login -c "startx $wm_bin -- ${serverargs} &> /dev/null" &
else else
exec bash --login -c "startx $wm_bin -- :${serverargs} &> /dev/null" & exec bash --login -c "startx $wm_bin -- ${serverargs} &> /dev/null" &
fi fi
else else
if [[ ${wm_bin} == "gnome-session" ]]; then if [[ ${wm_bin} == "gnome-session" ]]; then
exec ck-launch-session startx $wm_bin -- :${serverargs} &> /dev/null & exec ck-launch-session startx $wm_bin -- ${serverargs} &> /dev/null &
else else
exec startx $wm_bin -- :${serverargs} &> /dev/null & exec startx $wm_bin -- ${serverargs} &> /dev/null &
fi fi
fi fi
} }

Loading…
Cancel
Save