diff --git a/in/init=lunar=wicd.in b/in/init=lunar=wicd.in new file mode 100644 index 0000000..2045aef --- /dev/null +++ b/in/init=lunar=wicd.in @@ -0,0 +1,13 @@ +#!/bin/bash +# +# Startup script for wicd +# +# chkconfig: 345 99 01 +# +# description: wicd wireless/wired internet connection daemon +# +# processname: wicd +# pidfile: %PIDFILE% +# + +. /lib/lsb.init_functions $1 diff --git a/setup.py b/setup.py index f7c6e3a..b96de8d 100755 --- a/setup.py +++ b/setup.py @@ -162,6 +162,9 @@ class configure(Command): self.initfile = 'init/pld/wicd' elif os.path.exists('/usr/bin/crux'): self.init = '/etc/rc.d/' + elif os.path.exists('/etc/lunar.release'): + self.init='/etc/init.d/' + self.initfile = 'init/lunar/wicd' else: self.init = 'FAIL' self.no_install_init = True