2
0
mirror of https://github.com/koreader/koreader synced 2024-11-13 19:11:25 +00:00
koreader/platform/kobo/release-ip.sh

10 lines
218 B
Bash

#!/bin/sh
# PATH export is only needed if you run this script manually from a shell
export PATH=$PATH:/sbin
# Release IP and shutdown udhcpc.
pkill -9 -f '/bin/sh /etc/udhcpc.d/default.script'
ifconfig eth0 0.0.0.0