]> git.ipfire.org Git - network.git/commit - src/functions/functions.ppp
pppd: Start the daemon and wait for an established connection.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 22 Jun 2012 11:08:23 +0000 (11:08 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 22 Jun 2012 11:08:23 +0000 (11:08 +0000)
commit81d0c0b957ad0b53d103c1383805ff9656b0fd54
tree067a83a1db12c1adcbf158f2a73f2dbec3ef7b6f
parent2044f5913b7a8f7ccf61b605f5d75f0df6cc2b10
pppd: Start the daemon and wait for an established connection.

Thanks to Lennart Poettering for advice how to solve this problem.

pppd now will be started by systemd and try to establish the connection.
systemctl start ... will block until the connection was established
(i.e. pppd forked into the background) or pppd exited.

The exit code will then be retrieved by systemctl show for
further processing.
functions.ppp
functions.service