File indexing completed on 2024-04-14 15:05:32

0001 #!/bin/sh
0002 
0003 while read line ; do
0004   if echo "$line" | grep 'ShowPrinterShares=' > /dev/null 2> /dev/null ; then
0005     echo "$line" | sed -e 's/Show/Detect/'
0006   elif echo "$line" | grep 'ShowHiddenShares=' > /dev/null 2> /dev/null ; then
0007     echo "$line" | sed -e 's/Show/Detect/'
0008   elif echo "$line" | grep 'PreviewHiddenItems=' > /dev/null 2> /dev/null ; then
0009     echo "$line"
0010   fi
0011 done
0012 
0013 echo "# DELETE [UserInterface]ShowPrinterShares"
0014 echo "# DELETE [UserInterface]ShowHiddenShares"
0015 echo "# DELETE [UserInterface]PreviewHiddenItems"