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:
13
in/init=lunar=wicd.in
Normal file
13
in/init=lunar=wicd.in
Normal 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
|
||||
3
setup.py
3
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
|
||||
|
||||
Reference in New Issue
Block a user