source: ipk/source.sh4/network_ipsec/CONTROL/postinst@ 45958

Last change on this file since 45958 was 45958, checked in by obi, 4 years ago

fix tpks

  • Property svn:executable set to *
File size: 368 bytes
Line 
1#!/bin/sh
2
3ARCH=$(cat /etc/.arch)
4
5if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
6 opkg update
7 opkg install strongswan
8 if [ "$ARCH" == "sh4" ];then
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
14 opkg install titan-plugin-network-ipsec --dest $1
15fi
16
17exit 0
Note: See TracBrowser for help on using the repository browser.