lede/package/lean/luci-app-kodexplorer/root/etc/uci-defaults/luci-kodexplorer

14 lines
258 B
Bash
Executable File

#!/bin/sh
uci -q batch <<-EOF >/dev/null
delete ucitrack.@kodexplorer[-1]
add ucitrack kodexplorer
set ucitrack.@kodexplorer[-1].init=kodexplorer
commit ucitrack
EOF
/etc/init.d/php8-fpm stop
/etc/init.d/php8-fpm disable
rm -rf /tmp/luci-*cache
exit 0