luci/applications/luci-app-example/root/etc/uci-defaults/80_example
Andreas Bräu 02a86624ec luci-app-example: add app
add a minimalistic example app for modern js-based apps

Signed-off-by: Andreas Bräu <ab@andi95.de>
2021-10-22 10:02:53 -10:00

8 lines
116 B
Bash

#!/bin/sh
touch /etc/config/example
uci set example.first=first
uci set example.second=second
uci commit
return 0