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

Last change on this file since 48302 was 46274, checked in by obi, 3 years ago

update lost files with install echo

  • Property svn:executable set to *
File size: 451 bytes
Line 
1#!/bin/sh
2
3echo Use Install Dest: $1
4echo Start Install Script: $0
5
6
7ARCH=$(cat /etc/.arch)
8
9if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
10 opkg update
11 opkg install strongswan
12 if [ "$ARCH" == "sh4" ];then
13 opkg install kernel-module-aes-generic
14 opkg install kernel-module-sha1-generic
15 fi
16 opkg install iptables
17 opkg install iptables-module-xt-policy
18 opkg install titan-plugin-network-ipsec --dest $1
19fi
20
21exit 0
Note: See TracBrowser for help on using the repository browser.