From bea0ab69253955bed6d77f57e71615342670e1b5 Mon Sep 17 00:00:00 2001 From: Giulio Date: Thu, 17 Sep 2020 13:20:59 +0200 Subject: [PATCH] Imporved modules start script --- conf/etc/init.d/S02modules | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/conf/etc/init.d/S02modules b/conf/etc/init.d/S02modules index 5ca2cb5..19c843f 100755 --- a/conf/etc/init.d/S02modules +++ b/conf/etc/init.d/S02modules @@ -1,4 +1,13 @@ #!/bin/sh -/sbin/modprobe qca6174 -/sbin/modprobe wireguard +case "$1" in + start) + /sbin/modprobe qca6174 + /sbin/modprobe wireguard + ;; + *) + echo "Usage: $0 {start}" + exit 1 +esac + +exit 0