tazpanel diff hosts.cgi @ rev 556

Add 'floppy' and 'folder' icons
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 07 02:36:31 2015 +0200 (2015-12-07)
parents 34508d2309a6
children a15373a181ff
line diff
     1.1 --- a/hosts.cgi	Sun Aug 30 23:04:04 2015 +0300
     1.2 +++ b/hosts.cgi	Mon Dec 07 02:36:31 2015 +0200
     1.3 @@ -79,7 +79,7 @@
     1.4  	cat "$hostsnew" >> /etc/hosts
     1.5  	rm "$hostsnew"
     1.6  
     1.7 -	# Prevent user-disabled entries to re-appeare
     1.8 +	# Prevent user-disabled entries to re-appear
     1.9  	grep "^#0.0.0.0" /etc/hosts | while read null host; do
    1.10  		sed -i "/^0.0.0.0 $host #/d" /etc/hosts
    1.11  	done