#!/bin/sh

# add BLE ucitrack entry
uci -q batch <<-EOF >/dev/null
	del ucitrack.@ble[-1]
	add ucitrack ble
	set ucitrack.@ble[-1].exec="/etc/init.d/ble reload"
	commit ucitrack
EOF
#set ucitrack.@ble[-1].exec="/etc/init.d/ble reload"

# remove LuCI cache
rm -rf /tmp/luci-indexcache /tmp/luci-modulecache

/etc/init.d/ble enable
