diff --git a/utils/mksh/Makefile b/utils/mksh/Makefile index 2d0ad6e18..cf3c8184f 100644 --- a/utils/mksh/Makefile +++ b/utils/mksh/Makefile @@ -39,6 +39,12 @@ define Build/Compile $(BASH) Build.sh -d -r endef +define Package/mksh/postinst +#!/bin/sh +grep mksh $${IPKG_INSTROOT}/etc/shells || \ + echo "/bin/mksh" >> $${IPKG_INSTROOT}/etc/shells +endef + define Package/mksh/install $(INSTALL_DIR) $(1)/etc $(INSTALL_DATA) $(PKG_BUILD_DIR)/dot.mkshrc $(1)/etc/mkshrc