summaryrefslogtreecommitdiff
path: root/dotfiles/system/.local/bin/bsdnet_bounce
blob: e4eec08c69f6ca7b395b48748e95f8bfc968c744 (plain)
1
2
3
4
5
6
if [ $(id -u) -eq 0 ]
then
    service netif restart && service routing restart
else
    echo "You must be root to run this script"
fi