2020-09-17 10:38:56 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2020-09-17 13:20:59 +02:00
|
|
|
case "$1" in
|
|
|
|
start)
|
2020-09-19 18:15:09 +02:00
|
|
|
printf "Loading kernel modules: "
|
2020-09-17 13:20:59 +02:00
|
|
|
/sbin/modprobe qca6174
|
|
|
|
/sbin/modprobe wireguard
|
2020-09-19 18:15:09 +02:00
|
|
|
[ $? = 0 ] && echo "OK" || echo "FAIL"
|
2020-09-17 13:20:59 +02:00
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "Usage: $0 {start}"
|
|
|
|
exit 1
|
|
|
|
esac
|
|
|
|
|
|
|
|
exit 0
|