Changeset 2228


Ignore:
Timestamp:
Dec 4, 2012, 5:13:28 PM (6 years ago)
Author:
matthijs
Message:

luci-wol: Add luci application for Wake-on-LAN.

This application is inspired by the wol plugin that has been floating
around the Fon community, but does not share any code with that plugin.
This plugin uses a bit more of luci and cbi, whereas the other plugin
did a lot of HTML generation and handling manually.

There is currently no icon for this application yet, so a dummy icon is
added. The real icon will be designed and added later.

Closes: #680

Location:
trunk
Files:
25 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/fon/luci/Makefile

    r1728 r2228  
    601601endef
    602602
     603define Package/luci-app-wol
     604  $(call Package/luci/webtemplate)
     605  TITLE:=Wake-on-LAN
     606  DEPENDS+=+etherwake
     607endef
     608
     609define Package/luci-app-wol/install
     610$(call Package/luci/install/template,$(1),applications/luci-wol)
     611endef
    603612
    604613
     
    965974ifneq ($(CONFIG_PACKAGE_luci-app-ffrpc),)
    966975       PKG_SELECTED_MODULES+=applications/luci-ffrpc
     976endif
     977ifneq ($(CONFIG_PACKAGE_luci-app-wol),)
     978        PKG_SELECTED_MODULES+=applications/luci-wol
    967979endif
    968980
     
    10921104$(eval $(call BuildPackage,luci-app-downloadmanager))
    10931105$(eval $(call BuildPackage,luci-app-ffrpc))
     1106$(eval $(call BuildPackage,luci-app-wol))
    10941107
    10951108$(eval $(call BuildPackage,luci-sgi-cgi))
  • trunk/luci/modules/admin-fon/root/sbin/save-config.sh

    r2192 r2228  
    159159# Create the tarball, containing a bunch of complete config files and
    160160# the above generated uci commands.
    161 tar cvzf /tmp/sysupgrade.tgz /etc/uci-defaults /etc/passwd /etc/group /etc/dropbear /etc/samba/smbpasswd /etc/samba/secrets.tdb /etc/firewall.user /etc/config/upnpd /etc/config/umtsd /etc/config/registered /etc/config/gdata /etc/config/facebook /etc/config/flickr /etc/config/mountd /etc/config/fon /etc/config/ddns /etc/config/wizard /etc/pureftpd.passwd /etc/pureftpd.pdb /etc/config/pureftpd /etc/config/samba /etc/config/twitter /etc/config/luci_ethers /etc/openvpn/keys /etc/config/uploadd /etc/nixio
     161tar cvzf /tmp/sysupgrade.tgz /etc/uci-defaults /etc/passwd /etc/group /etc/dropbear /etc/samba/smbpasswd /etc/samba/secrets.tdb /etc/firewall.user /etc/config/upnpd /etc/config/umtsd /etc/config/registered /etc/config/gdata /etc/config/facebook /etc/config/flickr /etc/config/mountd /etc/config/fon /etc/config/ddns /etc/config/wizard /etc/pureftpd.passwd /etc/pureftpd.pdb /etc/config/pureftpd /etc/config/samba /etc/config/twitter /etc/config/luci_ethers /etc/openvpn/keys /etc/config/uploadd /etc/nixio /etc/config/luci_wol
    162162
    163163# Rememove the zzz-upgrade file again. It ended up in the tarball, no
Note: See TracChangeset for help on using the changeset viewer.