Re: Hotfix 160301 - BETA ONLY
Posted by
Roadrunnere42 on
Mar 07, 2016; 4:44pm
URL: https://itus.accessinnov.com/Hotfix-160301-FINAL-tp157p326.html
Hans
here is want you what to find out which node the shield is in
if [ `df -h | grep -m1 mmcblk* | awk '{ print sunstr( $0, 6, 14 ) }'` ]: then
DISK_PARTITION=`df -h | grep -m1 mmcblk* | awk '{ print substr( $0, 6, 14 ) }'`
if [ $DISK_PARTITION = mmcblk0p2 ]; then
SHEILD_MODE=Router
elif if [ $DISK_PARTITION = mmcblk0p3 ]; then
SHEILD_MODE=Gateway
elif [ $DISK_PARTITION = mmcblk0p4 ]; then
SHEILD_MODE=Bridge
else
echo "Shield operation error"
fi
roadrunnere42