bash script to stop isdn service after x minutes?
I am looking for a script to stop my isdn service or ippp0 interface after x number or minutes. Eg stopthisservice.sh 30. I am struggling to get the basics sorted out like how to measure elapsed time in a bash script etc. I am thinking of a simple script eg:
while timenow < timetoelapse
timenow = now + elapseperiod
serivce isdn stop
Any ideas where I could look for help
Last edited by paul.nel; 02-28-2004 at 12:49 AM.