Lines 23-31
AUTOLOGIN_EXE=/usr/sbin/autologin
Link Here
|
23 |
AUTOLOGIN_CFG=/etc/sysconfig/autologin |
23 |
AUTOLOGIN_CFG=/etc/sysconfig/autologin |
24 |
if [ -x "$AUTOLOGIN_EXE" -a -s "$AUTOLOGIN_CFG" ]; then |
24 |
if [ -x "$AUTOLOGIN_EXE" -a -s "$AUTOLOGIN_CFG" ]; then |
25 |
EXEC_ARGS= |
25 |
EXEC_ARGS= |
|
|
26 |
AUTOLOGIN= |
26 |
. "$AUTOLOGIN_CFG" |
27 |
. "$AUTOLOGIN_CFG" |
27 |
"$AUTOLOGIN_EXE" $EXEC_ARGS & |
28 |
case "$AUTOLOGIN" in |
28 |
wait $! |
29 |
yes|Yes|YES|true|True|TRUE|on|On|ON|Y|y|1) |
|
|
30 |
"$AUTOLOGIN_EXE" $EXEC_ARGS & |
31 |
wait $! |
32 |
;; |
33 |
esac |
29 |
fi |
34 |
fi |
30 |
|
35 |
|
31 |
finddm() { |
36 |
finddm() { |