File: param.bash

package info (click to toggle)
golang-github-rootless-containers-bypass4netns 0.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 596 kB
  • sloc: sh: 1,936; python: 542; makefile: 33
file content (2 lines) | stat: -rw-r--r-- 159 bytes parent folder | download | duplicates (2)
1
2
HOST_IP_PREFIX="192.168.6."
HOST_IP=$(HOST=$(hostname -I); for i in ${HOST[@]}; do echo $i | grep -q $HOST_IP_PREFIX; if [ $? -eq 0 ]; then echo $i; fi; done)