Skip to content

Commit 2539157

Browse files
authored
Merge pull request snaplet#22 from snaplet/chore/watcher
added network up and down scripts for tracking current ip address
2 parents 50a43e2 + 25ad53b commit 2539157

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)