Rename config-mode package once again
This commit is contained in:
parent
5532451e36
commit
6f66ad3fce
14 changed files with 5 additions and 5 deletions
3
gluon-config-mode-ffhh/files/lib/gluon/config-mode/ash-login
Executable file
3
gluon-config-mode-ffhh/files/lib/gluon/config-mode/ash-login
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec /bin/ash --login
|
5
gluon-config-mode-ffhh/files/lib/gluon/config-mode/www/cgi-bin/luci
Executable file
5
gluon-config-mode-ffhh/files/lib/gluon/config-mode/www/cgi-bin/luci
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/lua
|
||||
require "luci.cacheloader"
|
||||
require "luci.sgi.cgi"
|
||||
luci.dispatcher.indexcache = "/tmp/luci-indexcache"
|
||||
luci.sgi.cgi.run()
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0; URL=/cgi-bin/luci" />
|
||||
</head>
|
||||
<body style="background-color: black">
|
||||
<a style="color: white; text-decoration: none" href="/cgi-bin/luci">LuCI - Lua Configuration Interface</a>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
/www/luci-static
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
. /lib/gluon/functions/sysconfig.sh
|
||||
. /lib/ar71xx.sh
|
||||
|
||||
|
||||
sysconfig_isset config_ifname && exit 0
|
||||
|
||||
|
||||
case "$(ar71xx_board_name)" in
|
||||
nanostation-m)
|
||||
sysconfig_set config_ifname "$(sysconfig wan_ifname || sysconfig lan_ifname)"
|
||||
;;
|
||||
*)
|
||||
sysconfig_set config_ifname "$(sysconfig lan_ifname || sysconfig wan_ifname)"
|
||||
;;
|
||||
esac
|
Loading…
Add table
Add a link
Reference in a new issue