Most likely it should be changed to: (substitute XX for your mac.)
MACAddress)
echo XX:XX:XX:XX:XX:XX
;;
or
MACAddress)
echo ethaddr=XX:XX:XX:XX:XX:XX
;;
Added some line breaks to separate the important stuff into lines
1. MACAddress)
2. #return STB MAC Address
3. fw_printenv ethaddr 2>/dev/null |
4. awk ' {
5. if( index($0,"ethaddr=") ) {
6. pMISSINGCODE
7. ;;
I guess 1 and 7 are for a switch statement.
5 matches the occurance of ethaddr=
If the program looks like this, not only is the coder a noob that does not know awk (He should have done awk '/ethaddr=/{pMISSINGCODE) the DRM/access-protection is equally noobstyle.