Vorbereitung auf upstart
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_X11@5557 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
f856ff65ec
commit
ffd24e21ae
25
etc/init/xdm.conf
Normal file
25
etc/init/xdm.conf
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
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
|
||||||
|
|
||||||
|
post-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
|
||||||
|
|
||||||
|
respawn
|
||||||
|
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
|
|
@ -22,6 +22,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
WDIR=`pwd`
|
WDIR=`pwd`
|
||||||
|
if [ -d /var/install/sysvinit* ]; then
|
||||||
cd etc/init.d
|
cd etc/init.d
|
||||||
chmod 755 xdm
|
chmod 755 xdm
|
||||||
mkdir rc{0,1,2,3,4,5,6}.d
|
mkdir rc{0,1,2,3,4,5,6}.d
|
||||||
|
@ -35,6 +36,7 @@ for i in 4 5; do
|
||||||
ln -s ../xdm S99xdm
|
ln -s ../xdm S99xdm
|
||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
|
fi
|
||||||
cd ../X11
|
cd ../X11
|
||||||
chmod 755 xdm/Xsession
|
chmod 755 xdm/Xsession
|
||||||
chmod 755 xinit/xinitrc
|
chmod 755 xinit/xinitrc
|
||||||
|
|
Loading…
Reference in New Issue
Block a user