Skip to content
Snippets Groups Projects
Commit 9de528ef authored by David Mondou's avatar David Mondou
Browse files

Fixed scripts for vesta-400

parent 6dc4ace1
No related branches found
No related tags found
No related merge requests found
#!/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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment