From 61b63d194379730797437bde7c44183148cae123 Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 27 Mar 2010 13:55:07 +0000 Subject: [PATCH] [package] also install rbash (#6927) git-svn-id: svn://svn.openwrt.org/openwrt/packages@20511 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/bash/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/bash/Makefile b/utils/bash/Makefile index e8075b7f9..28bc3327c 100644 --- a/utils/bash/Makefile +++ b/utils/bash/Makefile @@ -34,7 +34,6 @@ endef define Build/Configure $(call Build/Configure/Default, \ - --disable-restricted \ --without-bash-malloc \ --bindir=/bin \ ) @@ -53,11 +52,13 @@ define Package/bash/postinst #!/bin/sh grep bash $${IPKG_INSTROOT}/etc/shells || \ echo "/bin/bash" >> $${IPKG_INSTROOT}/etc/shells + echo "/bin/rbash" >> $${IPKG_INSTROOT}/etc/shells endef define Package/bash/install $(INSTALL_DIR) $(1)/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/bash $(1)/bin/ + ln -sf bash $(1)/bin/rbash endef $(eval $(call BuildPackage,bash))