Changes

From SME Server
Jump to navigationJump to search
6 bytes added ,  08:51, 7 August 2009
m
Improve the readability of the removal command a little by splitting it over multiple lines
Line 109: Line 109:     
To remove a specific entry but leave other existing entries unchanged
 
To remove a specific entry but leave other existing entries unchanged
  config setprop squid BypassProxyFrom $(config getprop squid BypassProxyFrom | sed -e 's/entry-to-be-removed//' -e 's/^,//' -e 's/,$//' -e 's/,,//')
+
  config setprop squid BypassProxyFrom \
 +
$(config getprop squid BypassProxyFrom | \
 +
sed -e 's/entry-to-be-removed//' -e 's/^,//' -e 's/,$//' -e 's/,,//')
    
where entry-to-be-removed is the IP to be removed
 
where entry-to-be-removed is the IP to be removed

Navigation menu