#!/usr/bin/perl -w # # popp connects to your provider and returns. You are able to # see pppd proceed dialing. Once the connection is # established pppd returns. # # Exit Status: taken from pppd # # Example: popp && mailsync # # This will dial your default provider, you will see pppd # progress and as soon as the connection's established, your # mail will get synchronized # # Version: 0.1 28-Dec-2001 "Tomas Pospisek" <tpo_deb@sourcepole.ch> use strict; my $ret; my $pid = fork(); unless ($pid) { # child exec "plog -f"; } else { # parent my $provider = "provider" unless @ARGV; $ret = system "pon $provider @ARGV updetach"; kill "SIGTERM", $pid; }; exit $ret / 256; # perlbizzare
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
scripts | Folder | 0755 |
|
|
filters | File | 445 B | 0644 |
|
interfaces | File | 1.43 KB | 0644 |
|
options.ttyXX | File | 631 B | 0644 |
|
peers-gprs | File | 1.16 KB | 0644 |
|
peers-pppoa | File | 843 B | 0644 |
|
peers-pppoe | File | 791 B | 0644 |
|
per-linkname | File | 1.04 KB | 0644 |
|
popp | File | 779 B | 0644 |
|
userscripts-down | File | 158 B | 0644 |
|
userscripts-up | File | 158 B | 0644 |
|