aboutsummaryrefslogtreecommitdiffstats
path: root/config/packetcapturefix/packetcapturefix.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/packetcapturefix/packetcapturefix.inc')
-rw-r--r--config/packetcapturefix/packetcapturefix.inc18
1 files changed, 0 insertions, 18 deletions
diff --git a/config/packetcapturefix/packetcapturefix.inc b/config/packetcapturefix/packetcapturefix.inc
deleted file mode 100644
index 8636c25c..00000000
--- a/config/packetcapturefix/packetcapturefix.inc
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-function packetcapturefix_install() {
- global $g, $config;
-
- // Test to make sure the patch is not already applied.
- $out = `patch -fslC --reverse -p1 -b .before_packetcapturefix -d / -i /usr/local/pkg/packetcapturefix.patch |& grep -ci reject`;
- if ($out == 0) {
- // If the patch has not already been applied, test to see if it will apply cleanly.
- $out = `patch -fsNlC -p1 -b .before_packetcapturefix -d / -i /usr/local/pkg/packetcapturefix.patch |& grep -ci reject`;
- if ($out == 0) {
- // The patch should apply cleanly, let 'er rip.
- mwexec("patch -fsNl -p1 -b .before_packetcapturefix -d / -i /usr/local/pkg/packetcapturefix.patch ");
- }
- }
-}
-
-?> \ No newline at end of file