-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2014-08-07 a las 09:57 +0200, Bernhard Voelker escribió:
On 08/07/2014 03:17 AM, Carlos E. R. wrote:
I have the guess that anything called from that script would also be killed, same as rcntp is killed now.
Hmm, never played with the following, but isn't that what setsid(1) from the util-linux package is for?
Dunno, I've never used it. The man page is too small, it assumes one knows what a "new session" means. Ok, I just wrote it on my script. I'll see what happens on next connection. ( setsid /usr/local/bin/nm-hook-mine-up $CONEXION >> /var/log/NetworkManager-mine.log ) & [...] Nay, the child script still gets the #15 signal: 2014-08-07T12:45:17,411739660+0200 - Going up Got enp0s29f7u1, IPv4.0 (host and GW): '192.168.42.154/24 192.168.42.129', IPv4.1: '' waiting... Got and ignored signal SIGTERM in nm-mine-hook Going to sync time now: - -- Cheers Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlPjWewACgkQja8UbcUWM1xJdwD/UjJRn8cn5acVrrNfxgv7aIam MVsZFma8D9LSFkyYqGwA/i5tL7jvcLgJgkzj4TRz1ghIoH6V9i/acij81ra/cPoo =jbLD -----END PGP SIGNATURE-----