|
Last change
on this file since 46249 was 46249, checked in by obi, 4 years ago |
|
fix ipkg postinst
|
-
Property svn:executable
set to
*
|
|
File size:
393 bytes
|
| Rev | Line | |
|---|
| [45364] | 1 | #!/bin/sh
|
|---|
| 2 |
|
|---|
| [45366] | 3 | ARCH=$(cat /etc/.arch)
|
|---|
| 4 |
|
|---|
| [46249] | 5 | if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
|
|---|
| [45364] | 6 | opkg update
|
|---|
| [45366] | 7 | opkg install strongswan
|
|---|
| [45684] | 8 | if [ "$ARCH" == "sh4" ];then
|
|---|
| [45366] | 9 | opkg install kernel-module-aes-generic
|
|---|
| 10 | opkg install kernel-module-sha1-generic
|
|---|
| 11 | fi
|
|---|
| 12 | opkg install iptables
|
|---|
| 13 | opkg install iptables-module-xt-policy
|
|---|
| [45958] | 14 | opkg install titan-plugin-network-ipsec --dest $1
|
|---|
| [45364] | 15 | fi
|
|---|
| 16 |
|
|---|
| 17 | exit 0
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.