You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
793 B
Bash

#!/bin/sh
[ -e /etc/config/fwuagent ] && exit 0
. /lib/functions/uci-defaults.sh
touch /etc/config/fwuagent
uci set fwuagent.hawkbit=hawkbit
uci set fwuagent.hawkbit.server=hawkbit.devolo.net
uci set fwuagent.device=device
uci set fwuagent.device.firmware_distribution=delos
uci set fwuagent.device.version_bl=1.0.0
uci set fwuagent.service=service
uci set fwuagent.service.disabled=0
uci set fwuagent.service.log_level=INFO
uci set fwuagent.service.automatic_update=1
uci set fwuagent.service.ghn_agents=0
uci set fwuagent.schedule=schedule
uci set fwuagent.schedule.enabled=1
uci set fwuagent.schedule.daysofweek='Monday Tuesday Wednesday Thursday Friday Saturday Sunday'
uci set fwuagent.schedule.starttime='02:00'
uci set fwuagent.schedule.stoptime='05:00'
uci commit fwuagent
exit 0