mirror of
https://github.com/gryf/wicd.git
synced 2026-03-14 05:35:49 +01:00
Fix suse init script.
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
### BEGIN INIT INFO
|
### BEGIN INIT INFO
|
||||||
# Provides: wicd-daemon
|
# Provides: wicd-daemon
|
||||||
# Required-Start: dbus
|
# Required-Start: dbus
|
||||||
|
# Required-Stop:
|
||||||
# Default-Start: 3 4 5
|
# Default-Start: 3 4 5
|
||||||
# Default-Stop:
|
# Default-Stop:
|
||||||
# Description: wicd, a wired and wireless connection manager.
|
# Description: wicd, a wired and wireless connection manager.
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ def expand_script_macros(script, msg, bssid, essid):
|
|||||||
print "Expanded '%s' to '%s'" % (script, expanded)
|
print "Expanded '%s' to '%s'" % (script, expanded)
|
||||||
return expanded
|
return expanded
|
||||||
|
|
||||||
|
|
||||||
class Controller(object):
|
class Controller(object):
|
||||||
""" Parent class for the different interface types. """
|
""" Parent class for the different interface types. """
|
||||||
def __init__(self, debug=False):
|
def __init__(self, debug=False):
|
||||||
@@ -335,7 +335,6 @@ class ConnectThread(threading.Thread):
|
|||||||
finally:
|
finally:
|
||||||
self.lock.release()
|
self.lock.release()
|
||||||
|
|
||||||
|
|
||||||
def GetStatus(self):
|
def GetStatus(self):
|
||||||
""" Get the threads current status message in a thread-safe way.
|
""" Get the threads current status message in a thread-safe way.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user