--- wicd-daemon-orig.py 2014-02-04 16:58:39.924289676 -0800 +++ wicd-daemon.py 2014-02-04 16:58:10.412288621 -0800 @@ -1697,20 +1697,20 @@ argv -- The arguments passed to the script. """ - # back up resolv.conf before we do anything else - try: - backup_location = wpath.varlib + 'resolv.conf.orig' - # don't back up if .orig exists, probably there cause - # wicd exploded - if not os.path.exists(backup_location): - if os.path.islink('/etc/resolv.conf'): - dest = os.readlink('/etc/resolv.conf') - os.symlink(dest, backup_location) - else: - shutil.copy2('/etc/resolv.conf', backup_location) - os.chmod(backup_location, 0644) - except IOError: - print 'error backing up resolv.conf' + ## back up resolv.conf before we do anything else + #try: + # backup_location = wpath.varlib + 'resolv.conf.orig' + # # don't back up if .orig exists, probably there cause + # # wicd exploded + # if not os.path.exists(backup_location): + # if os.path.islink('/etc/resolv.conf'): + # dest = os.readlink('/etc/resolv.conf') + # os.symlink(dest, backup_location) + # else: + # shutil.copy2('/etc/resolv.conf', backup_location) + # os.chmod(backup_location, 0644) + #except IOError: + # print 'error backing up resolv.conf' do_daemonize = True redirect_stderr = True