Skip to content

Commit

Permalink
Add INSTALL_DIR for lime-default and lime-rc.d directories in Makefile
Browse files Browse the repository at this point in the history
Add initial lime-config script in lime-defaults (executed in postinit)
  • Loading branch information
p4u authored and frank95 committed Aug 9, 2014
1 parent d66fbff commit e77a799
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/lime-system/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ endef

define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/etc/lime/
$(INSTALL_DIR) $(1)/etc/init.d/
$(INSTALL_DIR) $(1)/etc/lime-defaults/
$(INSTALL_DIR) $(1)/etc/lime-rc.d/
$(CP) ./files/* $(1)/
echo "LIME_ID=LiMe" > $(1)/etc/lime/lime.release
echo "LIME_CODENAME=$(LIME_CODENAME)" >> $(1)/etc/lime/lime.release
Expand Down
5 changes: 5 additions & 0 deletions packages/lime-system/files/etc/lime-defaults/10-lime_config
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
echo "Configuring LiMe for first time..."
lua /usr/bin/lime-config
uci commit
reboot

0 comments on commit e77a799

Please sign in to comment.