default-settings: remove default password

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 06992d8241b16eb654ba37ef94a8a773d9aa2d27)
This commit is contained in:
Tianling Shen 2022-04-22 04:26:03 +08:00
parent 314e26a473
commit c362389de1
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -13,9 +13,6 @@ rm -f /www/luci-static/resources/view/status/include/80_upnp.js
ln -sf /sbin/ip /usr/bin/ip
sed -i "s/# //g" /etc/opkg/distfeeds.conf
sed -i 's/root::0:0:99999:7:::/root:$1$V4UetPzk$CYXluq4wUazHjmCDBCqXF.:0:0:99999:7:::/g' /etc/shadow
[ -f '/bin/bash' ] && sed -i 's|root:x:0:0:root:/root:/bin/ash|root:x:0:0:root:/root:/bin/bash|g' /etc/passwd
sed -i '/option disabled/d' /etc/config/wireless