-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 30/09/14 20:12, meino.cra...@gmx.de wrote: > Is there a way to check, whether a RJ45 was plugged into the device and if > so to start init-script then?
You could use a network management daemon that works on device status such as net-misc/networkmanager (replacing the dhcpcd service but still making use of the dhcpcd (or, if preferred, dhclient) utility). - -- wraeth Key: 0xB2D9F759 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlQqg4cACgkQXcRKerLZ91lR1QD/QRzj0cc8To2BVRQQr6uFny2a maQkQwy14zwmqV0qFecA/07H01ZAIbOswnX3HMF3SVDcqcxW9K7UxtPKvUSxXDVN =CMvs -----END PGP SIGNATURE-----