Skip to content
Snippets Groups Projects
Verified Commit 460cdd49 authored by David Beniamine's avatar David Beniamine
Browse files

Fixup

parent 3d93643d
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
getip(){
awk '/^lease/{IP=$2} /hardware ethernet/{gsub(";","",$3);if($3 == "'$1'"){print $3}}' \
awk '/^lease/{IP=$2} /hardware ethernet/{gsub(";","",$3);if($3 == "'$1'"){print $IP}}' \
< /var/lib/dhcp/dhcpd.leases
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment