summaryrefslogtreecommitdiff
path: root/recipes-core
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2023-01-05 18:41:19 -0600
committerJohn Klug <john.klug@multitech.com>2023-01-06 09:07:10 -0600
commit4235cda131ed46945025bbdaa7f23d0204d117b7 (patch)
tree7f51ba9fff9b284f4b427e6faee7254b12733203 /recipes-core
parent4f716c2f228f5ad04ca0010015756e091afeba5d (diff)
downloadmeta-mlinux-4235cda131ed46945025bbdaa7f23d0204d117b7.tar.gz
meta-mlinux-4235cda131ed46945025bbdaa7f23d0204d117b7.tar.bz2
meta-mlinux-4235cda131ed46945025bbdaa7f23d0204d117b7.zip
Show ip address when Ethernet comes up
Diffstat (limited to 'recipes-core')
-rw-r--r--recipes-core/multitech/config/network/interfaces1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-core/multitech/config/network/interfaces b/recipes-core/multitech/config/network/interfaces
index a17a43a..04a1d3d 100644
--- a/recipes-core/multitech/config/network/interfaces
+++ b/recipes-core/multitech/config/network/interfaces
@@ -9,6 +9,7 @@ auto eth0
iface eth0 inet static
address 192.168.2.1
netmask 255.255.255.0
+post-up ip addr show eth0
# Forwarding packets on eth0
# gateway 192.168.2.2
# pre-up bash -c 'echo 1 >/proc/sys/net/ipv4/ip_forward'