----- Original Message ----- 
From: "Mark Quitoriano" <[EMAIL PROTECTED]>
To: "Philippine Linux Users Group Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, December 03, 2004 6:29 PM
Subject: [plug] mgetty schedule


> i setup an mgettty+sendfax on whitebox as a personal ras server.  I
> want to make a schedule that my ras server only answer in a specific
> time like 7pm-5am i tried to cron killall mgetty on those specific
> time but the mgetty keep coming back.

use your cron to create file /etc/nologin.<device> (eg. /etc/nologin.ttySxx)
at 5 am and delete it at 7 pm... if mgetty detects an incoming call and see
this file, it will not answer the call...

fooler.

--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to