Ticket #129: openrc-0.4.1-pppd-send-sigterm.patch

File openrc-0.4.1-pppd-send-sigterm.patch, 487 bytes (added by polynomial-c@gmx.de, 20 months ago)

With this patch pppd gets killed again

  • net/pppd.sh

    diff -ur openrc-0.4.1_orig/net/pppd.sh openrc-0.4.1/net/pppd.sh
    old new  
    237237 
    238238        # Give pppd at least 30 seconds do die, #147490 
    239239        einfo "Stopping pppd on ${IFACE}" 
    240         start-stop-daemon --stop --quiet --exec /usr/sbin/pppd \ 
     240        start-stop-daemon --stop --signal 15 --quiet --exec /usr/sbin/pppd \ 
    241241                --pidfile "${pidfile}" --retry 30 
    242242        eend $? 
    243243}