aboutsummaryrefslogtreecommitdiff
path: root/net/pbr/test.sh
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2022-10-31 23:08:01 +0000
committerStan Grishin <stangri@melmac.ca>2022-12-03 02:30:29 +0000
commit47eca64cb82a5459668fc14df9422e365c8343b6 (patch)
tree29ff6c255b296f6ff3fde60352ea91bd0fc55fb8 /net/pbr/test.sh
parentb40372da41303711bcc6c5b7640f7a3c00c47d54 (diff)
pbr: initial commit
* The makefile produces the nft and iptables capable `pbr` package and the `pbr-iptables` package for legacy setups * This replaces `vpnbypass` and `vpn-policy-routing` packages * I'm soliciting feedback on this package and my intention is to update the version to 1.0.0 before this is merged, but I need the feedback on this and luci-app-pbr before then. Signed-off-by: Stan Grishin <stangri@melmac.ca>
Diffstat (limited to 'net/pbr/test.sh')
-rw-r--r--net/pbr/test.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/pbr/test.sh b/net/pbr/test.sh
new file mode 100644
index 000000000..45469ed96
--- /dev/null
+++ b/net/pbr/test.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+/etc/init.d/"$1" version 2>&1 | grep "$2"