nettux443

Results 2 issues of nettux443

Added an os.chdir('/etc') then fed the value of os.readlink('/etc/resolv.conf') into os.path.abspath() and changed back to the old working dir. This fixes an issue where the backed up symlink points to...

Changed so that when /etc/resolv.conf is a symlink, the file that it points to will be backed up rather than making a symlink to it. Otherwise this isn't a backup...