patch_dv_serial Patch Linux dv_serial for use on FCS002

patch_dv_serial Patch Linux dv_serial for use on FCS002

#! /bin/sh

###################################################
#                                                 #
# Patch Linux dv_serial for FCS002                #
# INAD                                            #
#                                                 #
###################################################

# Rename dv_serial
mv dv_serial dv_serial.old

# Replace FCS001 ip address with the address for FCS002
hexdump -ve '1/1 "%.2x"' dv_serial.old | sed "s/3137362e31302e3130352e323138/37352e3135312e34372e31363100/g" | xxd -r -p > dv_serial

# make new dv_serial executable
chmod +x dv_serial

No comments:

Post a Comment

Thanks for your comments, Comments may take a day to show up