#!/bin/sh
|
|
|
|
uci -q get uhttpd.main.interpreter | grep -q "^\.php" || uci -q batch <<-EOF >/dev/null
|
|
add_list uhttpd.main.interpreter='.php=/usr/bin/php8-cgi'
|
|
commit uhttpd
|
|
EOF
|
|
|
|
mkdir -p /etc/hs20/AS/DB
|
|
[ -e /etc/hs20/AS/DB/eap_user.db ] || sqlite3 /etc/hs20/AS/DB/eap_user.db < /usr/share/hs20/sql.txt
|
|
|
|
exit 0
|