From 7cda86a1cd047efc513c3f15e11481dad82827f0 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 2d0ad6e18f..cf3c8184fc 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