Useful references
Last Updated on Wednesday, 11 June 2008 12:15 Written by Administrator Wednesday, 11 June 2008 12:10
To find and replace in files, in this instance we are altering the Polycom IP320 <mac>reg.cfg file to remove the second line key.
either
cd /tftpboot (if using tftp)
OR
cd /home/polycom
for f in 00*; do mv $f $f.old; sed 's#reg.1.lineKeys="2"#reg.1.lineKeys="1"#g' $f.old > $f; done


