1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-19 12:28:08 +01:00

Added an init script for Lunar Linux.

This commit is contained in:
Andrew Psaltis
2009-03-08 17:38:47 -04:00
parent 4365a8406b
commit 1327bfcc32
2 changed files with 16 additions and 0 deletions

13
in/init=lunar=wicd.in Normal file
View File

@@ -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

View File

@@ -162,6 +162,9 @@ class configure(Command):
self.initfile = 'init/pld/wicd' self.initfile = 'init/pld/wicd'
elif os.path.exists('/usr/bin/crux'): elif os.path.exists('/usr/bin/crux'):
self.init = '/etc/rc.d/' self.init = '/etc/rc.d/'
elif os.path.exists('/etc/lunar.release'):
self.init='/etc/init.d/'
self.initfile = 'init/lunar/wicd'
else: else:
self.init = 'FAIL' self.init = 'FAIL'
self.no_install_init = True self.no_install_init = True