diff options
author | William Pitcock <nenolod@dereferenced.org> | 2010-12-22 15:47:38 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2010-12-22 15:47:38 -0600 |
commit | e5f936130acb7e29bc68ba1cb346e7f2ff16efd8 (patch) | |
tree | d8555ce5e822f6a4431631b8f776370cede13b89 /testing/lxdm/lxdm.initd | |
parent | 477768c1998ec4898ce94019eeba49510502f145 (diff) |
testing/lxdm: new aport.
Diffstat (limited to 'testing/lxdm/lxdm.initd')
-rwxr-xr-x | testing/lxdm/lxdm.initd | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/lxdm/lxdm.initd b/testing/lxdm/lxdm.initd new file mode 100755 index 00000000000..274c4afe9b3 --- /dev/null +++ b/testing/lxdm/lxdm.initd @@ -0,0 +1,18 @@ +#!/sbin/runscript + +depends() { + needs localmount +} + +start() { + ebegin "Starting lxdm" + start-stop-daemon --start --quiet --exec /usr/bin/lxdm -- -d + eend $? +} + +stop() { + ebegin "Stopping lxdm" + start-stop-daemon --stop --quiet --exec /usr/bin/lxdm + eend $? +} + |