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 --- scullp/scullp_unload | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scullp/scullp_unload') diff --git a/scullp/scullp_unload b/scullp/scullp_unload index adf5e2c..9b6a5d2 100755 --- a/scullp/scullp_unload +++ b/scullp/scullp_unload @@ -3,7 +3,7 @@ module="scullp" device="scullp" # invoke rmmod with all arguments we got -/sbin/rmmod $module $* || exit 1 +rmmod $module $* || exit 1 # remove nodes rm -f /dev/${device}[0-3] /dev/${device} -- cgit v1.2.1-18-gbd029