forked from altcloud/mkimage-profiles
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...
This commit is contained in:
parent
a7ac4f236c
commit
8fbf3585b0
@ -1,4 +1,10 @@
|
||||
#!/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
|
||||
|
Loading…
x
Reference in New Issue
Block a user