Move CIFS-specific functions out of setup-teslausb.

This commit is contained in:
cimryan
2018-10-23 22:05:25 -07:00
parent 9261cc9b20
commit 1685fa78f7
8 changed files with 133 additions and 96 deletions

View File

@@ -0,0 +1,3 @@
#!/bin/bash -eu
echo "$(ping -c 1 -w 1 $archiveserver 2>/dev/null | head -n 1 | grep -o -e "(\([[:digit:]]\{1,3\}\.\)\{3\}[[:digit:]]\{1,3\})" | tr -d '()')"