1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- #!/bin/sh
-
- . /etc/environment
- . ${SCRIPTS}/hardware.sh
- . ${SCRIPTS}/firmware.sh
- echo -n "Interface [${ETH}]: "; read
- if [ ! -z ${REPLY} ]; then
- ETH=${REPLY}
- fi
- int6kwait -xqsi ${ETH}
- if [ ${?} != 0 ]; then
- echo "Device is not connected"
- exit 1
- fi
- DAK=$(int6kid -i ${ETH} -D)
- int6kp -i ${ETH} -D ${DAK} -E
- if [ ${?} != 0 ]; then
- exit 1
- fi
- exit 0
|