0
0
mirror of https://github.com/openwrt/luci.git synced 2025-04-18 22:26:16 +00:00
Files
George Sapkin f32d9204a7 luci-app-example: rewrite RPC side using ucode
Signed-off-by: George Sapkin <george@sapk.in>
2025-02-03 15:07:18 +01:00

14 lines
294 B
Bash

#!/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