mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
13 lines
134 B
Plaintext
13 lines
134 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
[ "${ACTION}" = "released" ] || exit 0
|
||
|
|
||
|
if [ "$SEEN" -ge 5 ]
|
||
|
then
|
||
|
echo "REBOOT" > /dev/console
|
||
|
sync
|
||
|
reboot
|
||
|
fi
|
||
|
|
||
|
return 0
|