mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
creates a passwd's shadow file if busybox supports the feature, fixes #2887
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12017 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
56d57daef0
commit
5cee680b19
@ -147,6 +147,7 @@ define Package/base-files$(TARGET)/install
|
||||
$(CP) $(PLATFORM_SUBDIR)/base-files-$(PROFILE)/* $(1)/; \
|
||||
fi \
|
||||
)
|
||||
$(if $(CONFIG_BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS),cp $(1)/etc/passwd $(1)/etc/shadow)
|
||||
$(SED) 's,$$$$R,$(REVISION),g' $(1)/etc/banner
|
||||
$(SED) 's,$$$$S,$(BOARD),g' -e 's,$$$$A,$(ARCH),g' $(1)/etc/ipkg.conf
|
||||
mkdir -p $(1)/dev
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user