From 3ecfb5581d355c4b31b40c740669cb559b80bc8e Mon Sep 17 00:00:00 2001 From: Jens Muecke Date: Sun, 13 May 2007 23:08:52 +0000 Subject: [PATCH] added mksh to /etc/shells (#1685) SVN-Revision: 7219 --- utils/mksh/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.30.2