Mettre à jour 'sysconfig.sh'
This commit is contained in:
parent
55809548d1
commit
36fb9c6409
@ -15,7 +15,7 @@ cp /etc/resolv.conf $CHROOT/etc/resolv.conf
|
|||||||
echo "127.0.0.1 localhost" > $CHROOT/etc/hosts
|
echo "127.0.0.1 localhost" > $CHROOT/etc/hosts
|
||||||
echo "::1 localhost" >> $CHROOT/etc/hosts
|
echo "::1 localhost" >> $CHROOT/etc/hosts
|
||||||
echo "127.0.1.1 $MYHOSTNAME.$MYDOMAIN $MYHOSTNAME" >> $CHROOT/etc/hosts
|
echo "127.0.1.1 $MYHOSTNAME.$MYDOMAIN $MYHOSTNAME" >> $CHROOT/etc/hosts
|
||||||
echo "hostname='"'$MYHOSTNAME'"'" > $CHROOT/etc/conf.d/hostname
|
echo hostname='"'$MYHOSTNAME'"' > $CHROOT/etc/conf.d/hostname
|
||||||
for interfaces in `ls /sys/class/net | sed /lo/d`
|
for interfaces in `ls /sys/class/net | sed /lo/d`
|
||||||
do
|
do
|
||||||
chroot $CHROOT /bin/bash -c "ln -s /etc/init.d/net.lo /etc/init.d/net.$interfaces"
|
chroot $CHROOT /bin/bash -c "ln -s /etc/init.d/net.lo /etc/init.d/net.$interfaces"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user