summaryrefslogtreecommitdiff
path: root/mac-tap/tuntap/startup_item/tun
diff options
context:
space:
mode:
Diffstat (limited to 'mac-tap/tuntap/startup_item/tun')
-rw-r--r--mac-tap/tuntap/startup_item/tun/Resources/English.lproj/Localizable.strings11
-rw-r--r--mac-tap/tuntap/startup_item/tun/StartupParameters.plist6
-rwxr-xr-xmac-tap/tuntap/startup_item/tun/tun33
3 files changed, 0 insertions, 50 deletions
diff --git a/mac-tap/tuntap/startup_item/tun/Resources/English.lproj/Localizable.strings b/mac-tap/tuntap/startup_item/tun/Resources/English.lproj/Localizable.strings
deleted file mode 100644
index 054790e7..00000000
--- a/mac-tap/tuntap/startup_item/tun/Resources/English.lproj/Localizable.strings
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
-<plist version="0.9">
-<dict>
- <key>ip tunnel device kernel extension</key>
- <string>ip tunnel kernel extension</string>
- <key>Initializing tun devices</key>
- <string>Initializing tun devices</string>
-</dict>
-</plist>
-
diff --git a/mac-tap/tuntap/startup_item/tun/StartupParameters.plist b/mac-tap/tuntap/startup_item/tun/StartupParameters.plist
deleted file mode 100644
index 71a92626..00000000
--- a/mac-tap/tuntap/startup_item/tun/StartupParameters.plist
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- Description = "ip tunnel device kernel extension";
- Provides = ("tun");
- Requires = ("Network Configuration");
- OrderPreference = "None";
-}
diff --git a/mac-tap/tuntap/startup_item/tun/tun b/mac-tap/tuntap/startup_item/tun/tun
deleted file mode 100755
index 40b1b411..00000000
--- a/mac-tap/tuntap/startup_item/tun/tun
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-
-##
-# load the tun kext
-##
-
-. /etc/rc.common
-
-StartService ()
-{
- ConsoleMessage "Initializing tun devices"
-
- if [ -d /Library/Extensions/tun.kext ]; then
- kextload /Library/Extensions/tun.kext
- fi
-}
-
-StopService ()
-{
- if [ -d /Library/Extensions/tun.kext ]; then
- kextunload /Library/Extensions/tun.kext
- fi
-}
-
-RestartService ()
-{
- if [ -d /Library/Extensions/tun.kext ]; then
- kextunload /Library/Extensions/tun.kext
- kextload /Library/Extensions/tun.kext
- fi
-}
-
-RunService "$1"