mirror of
https://github.com/gryf/wicd.git
synced 2026-01-27 18:55:46 +01:00
experimental/pluggablebackends:
- Remove --scan-interval option from daemon since its no longer needed.
This commit is contained in:
@@ -1393,9 +1393,9 @@ def main(argv):
|
|||||||
auto_scan = True
|
auto_scan = True
|
||||||
|
|
||||||
try:
|
try:
|
||||||
opts, args = getopt.getopt(sys.argv[1:], 'fenoahi:',
|
opts, args = getopt.getopt(sys.argv[1:], 'fenoah:',
|
||||||
['help', 'no-daemon', 'no-poll', 'no-stderr', 'no-stdout',
|
['help', 'no-daemon', 'no-poll', 'no-stderr', 'no-stdout',
|
||||||
'no-autoconnect', 'scan-interval'])
|
'no-autoconnect'])
|
||||||
except getopt.GetoptError:
|
except getopt.GetoptError:
|
||||||
# Print help information and exit
|
# Print help information and exit
|
||||||
usage()
|
usage()
|
||||||
@@ -1416,8 +1416,6 @@ def main(argv):
|
|||||||
auto_scan = False
|
auto_scan = False
|
||||||
if o in ('-n', '--no-poll'):
|
if o in ('-n', '--no-poll'):
|
||||||
no_poll = True
|
no_poll = True
|
||||||
if o in ('i', '--scan-interval'):
|
|
||||||
scan_interval = a
|
|
||||||
|
|
||||||
if do_daemonize: daemonize()
|
if do_daemonize: daemonize()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user