mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-15 04:42:02 +00:00
30 lines
578 B
Bash
Executable file
30 lines
578 B
Bash
Executable file
#!/bin/sh /etc/rc.common
|
|
# (C) 2013 openwrt.org
|
|
|
|
START=81
|
|
|
|
boot() {
|
|
SHA_ALGS="sha1-neon sha224-neon sha256-neon sha384-neon sha512-neon md5-generic"
|
|
|
|
for alg in $SHA_ALGS; do
|
|
crconf add driver "authenc(hmac($alg),cbc(aes-generic))" type 3
|
|
crconf add driver "pcrypt(authenc(hmac($alg),cbc(aes-generic)))" type 3
|
|
done
|
|
|
|
for alg in $SHA_ALGS; do
|
|
crconf add driver "authenc(hmac($alg),cbc(des3_ede-generic))" type 3
|
|
crconf add driver "pcrypt(authenc(hmac($alg),cbc(des3_ede-generic)))" type 3
|
|
done
|
|
}
|
|
|
|
start() {
|
|
return 0
|
|
}
|
|
|
|
restart() {
|
|
return 0
|
|
}
|
|
|
|
stop() {
|
|
return 0
|
|
}
|