diff --git a/package/gluon-simple-tc/Makefile b/package/gluon-simple-tc/Makefile index c496682d..9c194f90 100644 --- a/package/gluon-simple-tc/Makefile +++ b/package/gluon-simple-tc/Makefile @@ -27,10 +27,13 @@ define Build/Configure endef define Build/Compile + $(GLUON_CONFIGURE) initial.pl > $(PKG_BUILD_DIR)/initial.sh endef define Package/gluon-simple-tc/install $(CP) ./files/* $(1)/ + $(INSTALL_DIR) $(1)/lib/gluon/upgrade/simple-tc/initial + $(INSTALL_BIN) $(PKG_BUILD_DIR)/initial.sh $(1)/lib/gluon/upgrade/simple-tc/initial/010-site-defaults endef $(eval $(call BuildPackage,gluon-simple-tc)) diff --git a/package/gluon-simple-tc/initial.pl b/package/gluon-simple-tc/initial.pl new file mode 100644 index 00000000..820029f7 --- /dev/null +++ b/package/gluon-simple-tc/initial.pl @@ -0,0 +1,21 @@ +my $cfg = $CONFIG->{simple_tc}; + +print <<'END'; +#/bin/sh + +uci -q batch <{$_}\n"; + } +} + +print <