Pour la borne du 4I, on reboote tous les jours

darcs-hash:20041108161928-d1718-01e705f6a49424f1cb107d81c1969bd128579510.gz
This commit is contained in:
bernat 2004-11-08 17:19:28 +01:00
parent 4bcf5f8244
commit 6a1b7f11e8

View file

@ -386,9 +386,14 @@ chmod +x /tmp/cron.klogd
# Certaines bornes gardent les associations de ceux qui ne sont plus la
cat > /tmp/cron.disassoc <<EOF
#! /bin/sh
/usr/sbin/wl gmode 0
sleep 1
/usr/sbin/wl gmode 1
# Pour gefyon, on reboote
if [[ $nom == "gefyon" ]]; then
reboot
else
/usr/sbin/wl gmode 0
sleep 1
/usr/sbin/wl gmode 1
fi
exit 0
EOF
chmod +x /tmp/cron.disassoc