fixed data prepare init script
This commit is contained in:
parent
36db1f5096
commit
129281fc96
@ -200,6 +200,7 @@ root_pw=\$(mkpasswd -m sha-512 -s "${DEFAULT_ROOT_PASSWORD}")
|
|||||||
echo "root:\${root_pw}:0:0:::::" > /data/etc/shadow
|
echo "root:\${root_pw}:0:0:::::" > /data/etc/shadow
|
||||||
|
|
||||||
# interface
|
# interface
|
||||||
|
mkdir -p /data/etc/network
|
||||||
if [ ! -f /data/etc/network/interfaces ]; then
|
if [ ! -f /data/etc/network/interfaces ]; then
|
||||||
cat > /data/etc/network/interfaces <<EOF2
|
cat > /data/etc/network/interfaces <<EOF2
|
||||||
auto lo
|
auto lo
|
||||||
|
Loading…
Reference in New Issue
Block a user