26 lines
554 B
Plaintext
26 lines
554 B
Plaintext
|
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
|