Browse Source

actually reboot after completing wizard

pull/1/head
Nils Schneider 10 years ago
committed by Matthias Schiffer
parent
commit
e13eb88276
  1. 14
      luci/config-mode/Makefile
  2. 2
      luci/config-mode/files/usr/lib/lua/luci/controller/ffhl/wizard.lua

14
luci/config-mode/Makefile

@ -3,23 +3,23 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=configmode
PKG_NAME:=config-modee
PKG_RELEASE:=0.0.1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/configmode
define Package/config-modee
SECTION:=luci
CATEGORY:=LuCI
SUBMENU:=9. Freifunk
TITLE:=Luci based configmode for userfriendly setup of new meshnodes
TITLE:=Luci based config-modee for userfriendly setup of new meshnodes
DEPENDS:=+firewall
endef
define Package/configmode/description
Luci based configmode
define Package/config-modee/description
Luci based config-modee
endef
define Build/Prepare
@ -32,8 +32,8 @@ endef
define Build/Compile
endef
define Package/configmode/install
define Package/config-modee/install
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,configmode))
$(eval $(call BuildPackage,config-modee))

2
luci/config-mode/files/usr/lib/lua/luci/controller/ffhl/wizard.lua

@ -24,6 +24,6 @@ function reboot()
uci:save("ffhl")
uci:commit("ffhl")
-- luci.sys.reboot()
luci.sys.reboot()
end

Loading…
Cancel
Save