2010-04-20 20:23:44 +00:00
|
|
|
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
|
|
|
|
|
2010-08-19 19:26:45 +00:00
|
|
|
pre-start script
|
2010-04-20 20:23:44 +00:00
|
|
|
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
|