[openwrt] practicing ASCII art
This commit is contained in:
parent
3bb1345b29
commit
62b4c7aadf
|
@ -28,9 +28,19 @@ define Build/Prepare
|
||||||
$(CP) ./src/* $(PKG_BUILD_DIR)/
|
$(CP) ./src/* $(PKG_BUILD_DIR)/
|
||||||
$(CP) ./luasrc/* $(PKG_BUILD_DIR)/
|
$(CP) ./luasrc/* $(PKG_BUILD_DIR)/
|
||||||
$(CP) ./config/* $(PKG_BUILD_DIR)/
|
$(CP) ./config/* $(PKG_BUILD_DIR)/
|
||||||
|
$(CP) -r ./files $(PKG_BUILD_DIR)/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
FLUKSO_COMMIT:=$(shell git rev-parse HEAD | awk '{print substr($$0,1,16)}')
|
||||||
|
|
||||||
define Package/flukso/install
|
define Package/flukso/install
|
||||||
|
$(INSTALL_DIR) $(1)/etc
|
||||||
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/files/etc/banner $(1)/etc/banner
|
||||||
|
|
||||||
|
$(SED) 's,$$$$R,$(REVISION),g' $(1)/etc/banner
|
||||||
|
$(SED) 's,$$$$F,$(PKG_VERSION)-$(PKG_RELEASE),g' $(1)/etc/banner
|
||||||
|
$(SED) 's,$$$$G,$(FLUKSO_COMMIT),g' $(1)/etc/banner
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/etc/config
|
$(INSTALL_DIR) $(1)/etc/config
|
||||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/flukso.uci $(1)/etc/config/flukso
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/flukso.uci $(1)/etc/config/flukso
|
||||||
$(INSTALL_DIR) $(1)/etc/init.d
|
$(INSTALL_DIR) $(1)/etc/init.d
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
_______ __ __
|
||||||
|
| ___| |.--.--.| |--.-----.-----.
|
||||||
|
| ___| || | || <|__ --| _ |
|
||||||
|
|___| |__||_____||__|__|_____|_____|
|
||||||
|
C O M M U N I T Y M E T E R I N G
|
||||||
|
|
||||||
|
OpenWRT Backfire [10.03.1, $R]
|
||||||
|
Flukso [$F, $G]
|
||||||
|
|
||||||
|
------------------------------------------
|
||||||
|
Chuck Norris doesn't need a smart meter.
|
||||||
|
He just grabs the mains every hour to get
|
||||||
|
a feel for his electricity consumption.
|
||||||
|
------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue