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