From e3c38f894f146aad18e14196ca39e679f35bf19f Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Sun, 25 Feb 2018 22:25:31 +0100 Subject: Don't use absolute path for commands in load/unload scripts Just let the shell lookup from the user's $PATH since some tools may not be installed in the absolute path used in the scripts. Signed-off-by: Javier Martinez Canillas --- snull/snull_unload | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'snull/snull_unload') 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 -- cgit v1.2.1-18-gbd029