aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-10 19:27:19 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-10 19:27:19 +0200
commitac3e4f509e840c9db37b1afe4a94f162bb7747cd (patch)
tree5304769be2c4b42f23b9fd35053368f31159e8a3
parenta17d500640e8b40fa49ebee8621eecc41b0a711b (diff)
downloadpfsense-packages-ac3e4f509e840c9db37b1afe4a94f162bb7747cd.tar.gz
pfsense-packages-ac3e4f509e840c9db37b1afe4a94f162bb7747cd.tar.bz2
pfsense-packages-ac3e4f509e840c9db37b1afe4a94f162bb7747cd.zip
Remove useless openvpn-tapfix "package"
-rw-r--r--config/openvpn_tapfix_20x/openvpn_tapfix_20x.inc25
1 files changed, 0 insertions, 25 deletions
diff --git a/config/openvpn_tapfix_20x/openvpn_tapfix_20x.inc b/config/openvpn_tapfix_20x/openvpn_tapfix_20x.inc
deleted file mode 100644
index 8f574212..00000000
--- a/config/openvpn_tapfix_20x/openvpn_tapfix_20x.inc
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-function openvpn_tapfix_20x_install() {
- global $g, $config;
- $pfs_version = substr(trim(file_get_contents("/etc/version")),0,5);
- switch ($pfs_version) {
- case "2.0.3":
- $patch_file = "openvpn_tapfix_203.patch";
- break;
- default:
- $patch_file = "openvpn_tapfix_20x.patch";
- }
- // Test to make sure the patch is not already applied.
- $out = `patch -fslC --reverse -p1 -b .before_openvpn_tapfix_20x -d / -i /usr/local/pkg/{$patch_file} |& 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_openvpn_tapfix_20x -d / -i /usr/local/pkg/{$patch_file} |& grep -ci reject`;
- if ($out == 0) {
- // The patch should apply cleanly, let 'er rip.
- mwexec("patch -fsNl -p1 -b .before_openvpn_tapfix_20x -d / -i /usr/local/pkg/{$patch_file} ");
- }
- }
-}
-
-?> \ No newline at end of file