summaryrefslogtreecommitdiffstats
path: root/snull
diff options
context:
space:
mode:
Diffstat (limited to 'snull')
-rwxr-xr-xsnull/snull_load2
-rwxr-xr-xsnull/snull_unload6
2 files changed, 3 insertions, 5 deletions
diff --git a/snull/snull_load b/snull/snull_load
index 47de578..3f6627d 100755
--- a/snull/snull_load
+++ b/snull/snull_load
@@ -1,7 +1,5 @@
#!/bin/sh
-export PATH=/sbin:/bin
-
# Use a pathname, as new modutils don't look in the current dir by default
insmod ./snull.ko $*
ifconfig sn0 local0
diff --git a/snull/snull_unload b/snull/snull_unload
index a857ac9..7cc3a39 100755
--- a/snull/snull_unload
+++ b/snull/snull_unload
@@ -1,5 +1,5 @@
#!/bin/sh
-/sbin/ifconfig sn0 down
-/sbin/ifconfig sn1 down
-/sbin/rmmod snull
+ifconfig sn0 down
+ifconfig sn1 down
+rmmod snull