bundlewrap/bundles/pppd/files/ip-down

12 lines
184 B
Bash

#!/bin/bash
rm /etc/nftables-rules.d/90-pppd
rm /etc/sysctl.d/90-pppd.conf
if systemctl is-active nftables;
then
systemctl reload nftables
else
systemctl restart nftables
fi