Forwarded from Hacker News (yahnc_bot)
How to stop Linux threads cleanly https://mazzo.li/posts/stopping-linux-threads.html
mazzo.li
How to stop Linux threads cleanly
Stopping a Linux thread is a surprisingly annoying affair. In this post I present common pitfalls and some solutions -- although no truly satisfactory method exists.
https://bugs.launchpad.net/netplan/+bug/1769034/comments/2
学习了一下怎么在底裤网络d上拨号
学习了一下怎么在底裤网络d上拨号
Launchpad
Comment #2 : Bug #1769034 : Bugs : Netplan
fwiw I am currently using networkd-dispatcher for this with the following scripts:
$ cat /etc/networkd-dispatcher/routable.d/ppp
#!/bin/sh
set -e
if [ "$IFACE" != wan ]; then
exit 0
fi
pppd call centurylink
sleep 5
ip route change default dev…
$ cat /etc/networkd-dispatcher/routable.d/ppp
#!/bin/sh
set -e
if [ "$IFACE" != wan ]; then
exit 0
fi
pppd call centurylink
sleep 5
ip route change default dev…