blob: 7ec5332ed591b41757c8c6205a6fc4f4e035e46b [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#!/bin/sh
2
3uci -q get uhttpd.main.interpreter | grep -q "^\.php" || uci -q batch <<-EOF >/dev/null
4add_list uhttpd.main.interpreter='.php=/usr/bin/php-cgi'
5commit uhttpd
6EOF
7
8mkdir -p /etc/hs20/AS/DB
9[ -e /etc/hs20/AS/DB/eap_user.db ] || sqlite3 /etc/hs20/AS/DB/eap_user.db < /usr/share/hs20/sql.txt
10
11exit 0