Quantcast
Channel: Tiny Core Linux
Viewing all articles
Browse latest Browse all 18616

Re: shutdown on idle network activity

$
0
0
Hi aris
You could do it without cron by wrapping the script in a loop:
[code]#!/bin/sh
#
# This is scheduled in CRON. It will run every 20 minutes
# and check for inactivity. It compares the RX and TX packets
# from 20 minutes ago to detect if they sig...

Viewing all articles
Browse latest Browse all 18616

Trending Articles