aredn/files/etc/uci-defaults/10_configured_flag

6 lines
204 B
Bash
Executable File

#! /bin/sh
if [ "$(uci -c /etc/local/uci -q get hsmmmesh.settings.configured)" = "" ]; then
uci -c /etc/local/uci -q set hsmmmesh.settings.configured=1
uci -c /etc/local/uci -q commit hsmmmesh
fi