1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/sbin/runscript depends() { needs localmount dbus } start() { ebegin "Starting slim" start-stop-daemon --start --quiet --exec /usr/bin/slim -- -d eend $? } stop() { ebegin "Stopping slim" start-stop-daemon --stop --quiet --exec /usr/bin/slim eend $? }