Pour la borne du 4I, on reboote tous les jours
darcs-hash:20041108161928-d1718-01e705f6a49424f1cb107d81c1969bd128579510.gz
This commit is contained in:
parent
4bcf5f8244
commit
6a1b7f11e8
1 changed files with 8 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue