From 872ed3c1fb0fce8fa7b932abbf4eba37c041ed55 Mon Sep 17 00:00:00 2001 From: sbwml <984419930@qq.com> Date: Fri, 10 Feb 2023 00:35:16 +0800 Subject: [PATCH] Revert "luci: auto restart when iface up" This reverts commit be8f6b190909b14a957761a34793512290d79225. --- luci-app-passwall/root/etc/hotplug.d/iface/98-passwall | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 luci-app-passwall/root/etc/hotplug.d/iface/98-passwall diff --git a/luci-app-passwall/root/etc/hotplug.d/iface/98-passwall b/luci-app-passwall/root/etc/hotplug.d/iface/98-passwall deleted file mode 100644 index d89385efd..000000000 --- a/luci-app-passwall/root/etc/hotplug.d/iface/98-passwall +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -[[ "$ACTION" == "ifup" && $(uci get "passwall.@global[0].enabled") == "1" ]] && { - /etc/init.d/passwall restart - echo "passwall: restart when $INTERFACE ifup" > /dev/kmsg -}