1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- #!/bin/sh
- . ${SCRIPTS}/hardware.sh
- . ${SCRIPTS}/firmware.sh
- MAC=auto
- DAK=$(rkey secret.key -D)
- NMK=$(rkey secret.key -M)
- echo -n "MAC Address [${MAC}]: "; read
- if [ ! -z ${REPLY} ]; then
- MAC="${REPLY}"
- fi
- modpib ${PIB} -C0 -M ${MAC} -N ${NMK} -D ${DAK}
- if [ ${?} != 0 ]; then
- exit 1
- fi
- int64host -i ${ETH} -P ${PIB} -N ${NVM} -p abc.pib -n abc.nvm
- if [ ${?} != 0 ]; then
- exit 1
- fi
|