Help for this page

Select Code to Download


  1. or download this
    my $ppid = `/sbin/pidof pppd`; # cannot be 0 so logic works
    # $ppid is empty unless pppd is running.
    # Having the pid lets you signal the daemon