#!/bin/sh touch /etc/config/example uci set example.first=first uci set example.second=second uci set example.third=third uci set example.animals=animals uci set example.animals.num_cats=1 uci set example.animals.num_dogs=2 uci set example.animals.num_parakeets=4 uci commit example # Sample data for the file-backed JSONMap example (file-jsonmap.js) [ -f /etc/example.json ] || cat > /etc/example.json <