okreader/files/release-ip.sh
Cosmin Gorgovan 5bd93e7ff8 Fixes for the disable-wifi and release-ip scripts
disable-wifi: use pkill instead of killall, which is unavailable
release-ip: reset the ip address of the interface
2017-03-27 00:29:04 +01:00

5 lines
49 B
Bash
Executable File

#!/bin/sh
pkill 'dhcpcd'
ifconfig wlan0 0.0.0.0