Viitor_X11/etc/init/xdm.conf

25 lines
545 B
Plaintext
Raw Permalink Normal View History

description "Startup autofs System for local configuration files"
author "Harald Kueller <harald.kueller@compuextreme.de>"
version 1.0
emits none special
start on (runlevel [45] and (started rpc))
stop on runlevel [01236]
console output
pre-start script
if [ ! -d /tmp/.ICE-unix ]; then
mkdir /tmp/.ICE-unix
chown root:root /tmp/.ICE-unix
chmod 1777 /tmp/.ICE-unix
fi
end script
script
if ls /etc/X11/xdm/*.xdm >/dev/null 2>&1; then
XDM=`cat /etc/X11/xdm/*.xdm`
dbus-launch --exit-with-session $XDM --nodaemon
fi
end script