Changeset 45366 for ipk


Ignore:
Timestamp:
Feb 14, 2021, 3:32:35 PM (5 years ago)
Author:
obi
Message:

fix typo

Location:
ipk/source.sh4
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ipk/source.sh4/network_ipsec/CONTROL/postinst

    r45364 r45366  
    11#!/bin/sh
     2
     3ARCH=$(cat /etc/.arch)
    24
    35if [ -e /etc/.oebuild ];then
    46        opkg update
    5         opkg install minisatip
    6         opkg install titan-plugin-minisatip --dest $1
     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-ipsec --dest $1
    715fi
    816
  • ipk/source.sh4/network_ipsec/CONTROL/postrm

    r45364 r45366  
    22
    33if [ -e /etc/.oebuild ];then
    4         sed 's/minisatip.*//g' -i /mnt/config/start-config
    5         opkg remove minisatip
    6         opkg remove titan-plugin-minisatip --dest $1
     4        sed 's/ipsec=.*//g' -i /mnt/config/start-config
     5        opkg remove strongswan --force-removal-of-dependent-packages
     6        opkg remove kernel-module-aes-generic --force-removal-of-dependent-packages
     7        opkg remove kernel-module-sha1-generic --force-removal-of-dependent-packages
     8        opkg remove iptables --force-removal-of-dependent-packages
     9        opkg remove titan-plugin-ipsec --dest $1
    710fi
    811
  • ipk/source.sh4/network_minisatip/CONTROL/postrm

    r45352 r45366  
    22
    33if [ -e /etc/.oebuild ];then
    4         sed 's/minisatip.*//g' -i /mnt/config/start-config
     4        sed 's/minisatip=.*//g' -i /mnt/config/start-config
    55        opkg remove minisatip
    66        opkg remove titan-plugin-minisatip --dest $1
  • ipk/source.sh4/network_satipclient/CONTROL/postrm

    r45362 r45366  
    22
    33if [ -e /etc/.oebuild ];then
    4         sed 's/satipclient.*//g' -i /mnt/config/start-config
     4        sed 's/satipclient=.*//g' -i /mnt/config/start-config
    55        opkg remove satipclient
    66        opkg remove titan-plugin-satipclient --dest $1
Note: See TracChangeset for help on using the changeset viewer.