summaryrefslogtreecommitdiffstats
path: root/applications/luci-app-example/root/etc/uci-defaults/80_example
blob: aad59eb845c53cf30cad9d3d3c2a86c543ebed9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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

return 0