blob: 8d218ea4a9be32dbc6ae16df44ebd082749d1924 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
if ! grep '^auto lo' /etc/network/interfaces &> /dev/null ; then
mkdir -p -m 0755 /etc/network
cat >> /etc/network/interfaces <<-EOF
# The loopback network interface
auto lo
iface lo inet loopback
EOF
fi
|