Skip to content

Commit 25ad53b

Browse files
committed
added network up and down scripts for tracking current ip address
1 parent 61f5ab9 commit 25ad53b

File tree

2 files changed

+6
-0
lines changed
  • packages/buildroot/config/board/pg-browser/rootfs_overlay/etc/network

2 files changed

+6
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
echo "" &> /addr.txt
3+
sync
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
ip route get 1 | awk '{print $7}' &> /addr.txt
3+
sync

0 commit comments

Comments
 (0)