diff options
author | Javier Martinez Canillas <javier@dowhile0.org> | 2018-02-25 22:25:31 +0100 |
---|---|---|
committer | Javier Martinez Canillas <javier@dowhile0.org> | 2018-02-25 22:25:37 +0100 |
commit | e3c38f894f146aad18e14196ca39e679f35bf19f (patch) | |
tree | 4ce196fedcbe9e451ea18f85dccecfd14afbd264 /snull/snull_unload | |
parent | c400d261b75b51eed26bd851e4458c4f6eda8eff (diff) | |
download | ldd3-e3c38f894f146aad18e14196ca39e679f35bf19f.tar.gz |
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 <javier@dowhile0.org>
Diffstat (limited to 'snull/snull_unload')
-rwxr-xr-x | snull/snull_unload | 6 |
1 files changed, 3 insertions, 3 deletions
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 |