use bash by default

This commit is contained in:
CN_SZTL 2019-11-09 10:35:02 +08:00
parent c031976984
commit 003f9b5381
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
2 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,8 @@ define Package/default-settings
CATEGORY:=LuCI
TITLE:=LuCI support for Default Settings
PKGARCH:=all
DEPENDS:=+luci-base +@LUCI_LANG_zh-cn
DEPENDS:=+luci-base +@LUCI_LANG_zh-cn \
+bash
endef
define Package/default-settings/description

View File

@ -37,6 +37,7 @@ ln -sf /sbin/ip /usr/bin/ip
sed -i 's/downloads.openwrt.org/openwrt.proxy.ustclug.org/g' /etc/opkg/distfeeds.conf
sed -i 's/http/https/g' /etc/opkg/distfeeds.conf
sed -i 's/root::0:0:99999:7:::/root:$1$V4UetPzk$CYXluq4wUazHjmCDBCqXF.:0:0:99999:7:::/g' /etc/shadow
sed -i 's|root:x:0:0:root:/root:/bin/ash|root:x:0:0:root:/root:/bin/bash|g' /etc/passwd
sed -i "s/# //g" /etc/opkg/distfeeds.conf