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
|
# Certaines bornes gardent les associations de ceux qui ne sont plus la
|
||||||
cat > /tmp/cron.disassoc <<EOF
|
cat > /tmp/cron.disassoc <<EOF
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
/usr/sbin/wl gmode 0
|
# Pour gefyon, on reboote
|
||||||
sleep 1
|
if [[ $nom == "gefyon" ]]; then
|
||||||
/usr/sbin/wl gmode 1
|
reboot
|
||||||
|
else
|
||||||
|
/usr/sbin/wl gmode 0
|
||||||
|
sleep 1
|
||||||
|
/usr/sbin/wl gmode 1
|
||||||
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
EOF
|
EOF
|
||||||
chmod +x /tmp/cron.disassoc
|
chmod +x /tmp/cron.disassoc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue