# AFC2 Patch - by mav if [ `/bin/cat /mnt1/System/Library/Lockdown/Services.plist | /bin/grep -c afc2` == "0" ]; then echo "Patching Services.plist..."; ((l=`/bin/cat /mnt1/System/Library/Lockdown/Services.plist | /bin/grep -c \<` - 2)) /bin/head -n $l /mnt1/System/Library/Lockdown/Services.plist > /mnt1/System/Library/Lockdown/Services.plist.new /bin/cat /zib/afc2.plist >> /mnt1/System/Library/Lockdown/Services.plist.new /bin/rm -f /mnt1/System/Library/Lockdown/Services.plist /bin/mv /mnt1/System/Library/Lockdown/Services.plist.new /mnt1/System/Library/Lockdown/Services.plist fi