initial commit
This commit is contained in:
commit
13eace9ce9
219 files changed
+6918
No files matched your search
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
state=/var/lib/xray-lists
|
||||
|
||||
if [ -e "$state/.reload-nft" ]; then
|
||||
nft -c -f /etc/nftables.conf
|
||||
nft -f /etc/nftables.conf
|
||||
rm -f "$state/.reload-nft"
|
||||
fi
|
||||
|
||||
if [ -e "$state/.reload-dnsmasq" ]; then
|
||||
dnsmasq --test
|
||||
systemctl restart dnsmasq
|
||||
rm -f "$state/.reload-dnsmasq"
|
||||
fi
|
||||
Reference in new issue
Block a user