mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 16:31:13 +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
|