Software: Apache/2.0.54 (Fedora). PHP/5.0.4 uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/doc/mgetty-1.1.33/samples/ drwxr-xr-x |
Viewing file: Select action/file-type: #!/bin/sh # # From: Sarantos Kapidakis <sarantos@ics.forth.gr> # To: gert@greenie.muc.de # Subject: Re: mgetty # # By the way, this is my fax-answer-now script (you can include it in # the distribution as an example, if you want), # which asks mgetty to answer pick up the phone, and if there is no # mgetty running (it depends on my init level), it starts a single # mgetty for answering this one call. # #!/bin/sh sig=-USR1 port=${1:-ttyS1} if pid=`cat /etc/mg-pid.$port 2>/dev/null` && kill $sig $pid 2>/dev/null then : else /usr/local/sbin/mgetty $port < /dev/null & echo "starting mgetty..." sleep 4 pid=`cat /etc/mg-pid.$port` kill $sig $pid fi echo "sending mgetty, pid $pid, signal $sig..." |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0033 ]-- |