Commit 009c41ad authored by David Mondou's avatar David Mondou
Browse files

Merge branch 'fix/scripts-for-400' into 'master'

Fixed scripts for vesta-400

See merge request vesta/meta-vesta!88
parents 6dc4ace1 9de528ef
#!/bin/sh
TYPE=$(board_serial_number | cut -b 3,4)
TYPE=$(board_serial_number | cut -b 2-4)
if [ "$TYPE" != "083" ] && [ "$TYPE" != "081" ] && [ "$TYPE" != "077" ] && [ "$TYPE" != "120" ]; then
logger -s "The Zephyr binary is only supported on Vesta 100B, 200B, 300B or 400B units."
......
#!/bin/sh
#This script will put the gateway in zephyr mode on first boot
TYPE=$(board_serial_number | cut -b 3,4)
TYPE=$(board_serial_number | cut -b 2-4)
if [ "$TYPE" != "83" ] && [ "$TYPE" != "81" ] && [ "$TYPE" != "77" ]; then
logger -s "load_zephyr: Not a vesta-100B, Vesta-200B or Vesta-300B"
if [ "$TYPE" != "083" ] && [ "$TYPE" != "081" ] && [ "$TYPE" != "077" ] && [ "$TYPE" != "120" ]; then
logger -s "load_zephyr: Not a vesta-100B, Vesta-200B, Vesta-300B or Vesta-400B"
else
/usr/bin/gwmode-zephyr.sh
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment