#!/bin/sh
base=$1
count=$(($2-1))
for i in $(seq 0 $count)
do
#echo $(expr $i \* 3 + 1);
#echo "$(expr $i + $base);$(expr $i + $base);[authentication username=$(expr $i + $base) password=$(expr $i + $base)]";
#echo "('$(expr $i + $base)','$(expr $i + $base)','3402000000132000$(expr $i + $base)','192.168.8.249'),";
echo "('3402000000132000$(expr $i + $base)', '12345678', 1),";
done
base=$1
count=$(($2-1))
for i in $(seq 0 $count)
do
#echo $(expr $i \* 3 + 1);
#echo "$(expr $i + $base);$(expr $i + $base);[authentication username=$(expr $i + $base) password=$(expr $i + $base)]";
#echo "('$(expr $i + $base)','$(expr $i + $base)','3402000000132000$(expr $i + $base)','192.168.8.249'),";
echo "('3402000000132000$(expr $i + $base)', '12345678', 1),";
done