cyberchallenge-modem/conf/etc/init.d/S02modules

16 lines
275 B
Bash
Executable File

#!/bin/sh
case "$1" in
start)
printf "Loading kernel modules: "
/sbin/modprobe qca6174
/sbin/modprobe wireguard
[ $? = 0 ] && echo "OK" || echo "FAIL"
;;
*)
echo "Usage: $0 {start}"
exit 1
esac
exit 0