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

11 lines
308 B

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