Commit 8fbf3585 authored by Michael Shigorin's avatar Michael Shigorin

40-autologin: don't do runlevel 5 if X is absent

We can do textmode live images, after all. Some sort of autologin would be useful there too but doing it right is less obvious to me at the moment...
parent a7ac4f23
#!/bin/sh -ef
if [ ! -x /usr/bin/X ]; then
echo "warning: autologin feature requested but X not installed" >&2
exit 0
fi
USER=altlinux
# setup runlevel
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment