Ok. Toujours le bug 1173, je pensais pas que Alternc voulait ça. Owned
This commit is contained in:
parent
5d47f12088
commit
48ddeb9fbf
|
@ -216,8 +216,8 @@ EOF
|
||||||
|
|
||||||
# Add access to the management panel
|
# Add access to the management panel
|
||||||
ln -nsf /var/alternc/bureau /var/alternc/dns/$FQDN_LETTER/$FQDN
|
ln -nsf /var/alternc/bureau /var/alternc/dns/$FQDN_LETTER/$FQDN
|
||||||
mkdir -p /var/alternc/dns/$(echo $PUBLIC_IP|cut -d '.' -f 1)
|
mkdir -p /var/alternc/dns/${PUBLIC_IP:0:1}
|
||||||
ln -nsf /var/alternc/bureau /var/alternc/dns/$(echo $PUBLIC_IP|cut -d '.' -f 1)/$PUBLIC_IP
|
ln -nsf /var/alternc/bureau /var/alternc/dns/${PUBLIC_IP:0:1}/$PUBLIC_IP
|
||||||
|
|
||||||
# Bind stuff
|
# Bind stuff
|
||||||
touch /var/alternc/bind/automatic.conf /var/alternc/bind/slaveip.conf
|
touch /var/alternc/bind/automatic.conf /var/alternc/bind/slaveip.conf
|
||||||
|
|
|
@ -128,7 +128,7 @@ if [ -z "$MONITOR_IP" ]; then
|
||||||
MONITOR_IP="127.0.0.1"
|
MONITOR_IP="127.0.0.1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PUBLIC_IP_BEGIN=$(echo $PUBLIC_IP|cut -d '.' -f 1)
|
PUBLIC_IP_BEGIN=${PUBLIC_IP:0:1}
|
||||||
|
|
||||||
# XXX: I assume this is secure if /tmp is sticky (+t)
|
# XXX: I assume this is secure if /tmp is sticky (+t)
|
||||||
# we should have a better way to deal with templating, of course.
|
# we should have a better way to deal with templating, of course.
|
||||||
|
|
Loading…
Reference in New Issue