config pour l'install party, les autres scripts sont en cours de test et
seront mis en exploitation demain darcs-hash:20041111040801-4ec08-16a887ad69b8d24ad57b44945f6a7a11546e38e3.gz
This commit is contained in:
parent
f578715077
commit
398de9ebeb
1 changed files with 26 additions and 1 deletions
|
@ -264,6 +264,31 @@ echo "
|
|||
---------------------------------"
|
||||
EOF
|
||||
|
||||
export PATH="/bin:/usr/bin:/sbin:/usr/sbin"
|
||||
echo $PATH >> autoexec.log
|
||||
|
||||
# Réglage spécial Install Party
|
||||
if [ "$nom" = "var" ]; then
|
||||
# Reconfiguration des interfaces réseaux
|
||||
|
||||
#vlan0 = switch 4 ports
|
||||
#vlan1 = prise internet
|
||||
#eth1 = wireless
|
||||
#eth0 = switch + internet ? ou tous ? = ne pas utiliser
|
||||
|
||||
ifconfig br0 down
|
||||
brctl delbr br0
|
||||
ifconfig vlan0 138.231.136.254 netmask 255.255.255.0
|
||||
ifconfig vlan1 192.168.0.1 netmask 255.255.255.0
|
||||
ifconfig eth1 down
|
||||
|
||||
# Les services et le firewall sont lancés à partir du script :
|
||||
# reconfigure_borne --services
|
||||
# reconfigure_borne --firewall
|
||||
# De toute facon les services ne démarent pas ici comme il faut
|
||||
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
echo -n Démarrage du firewall...
|
||||
|
@ -387,7 +412,7 @@ chmod +x /tmp/cron.klogd
|
|||
cat > /tmp/cron.disassoc <<EOF
|
||||
#! /bin/sh
|
||||
# Pour gefyon, on reboote
|
||||
if [[ $nom == "gefyon" ]]; then
|
||||
if [ "$nom" = "gefyon" ]; then
|
||||
reboot
|
||||
else
|
||||
/usr/sbin/wl gmode 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue