use bash by default
This commit is contained in:
parent
c031976984
commit
003f9b5381
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user