mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Fix RUTX support
This commit is contained in:
parent
6fc4d11e09
commit
0b14e36374
98 changed files with 11611 additions and 893 deletions
30
root/target/linux/ipq40xx/base-files/etc/init.d/pcrypt-crconf
Executable file
30
root/target/linux/ipq40xx/base-files/etc/init.d/pcrypt-crconf
Executable file
|
@ -0,0 +1,30 @@
|
|||
#!/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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue