Ignore:
Timestamp:
Feb 14, 2022, 12:29:43 PM (4 years ago)
Author:
obi
Message:

fix plugin permtime

Location:
ipk/source.sh4/network_ipsec/CONTROL
Files:
2 edited

Legend:

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

    r45366 r45683  
    33ARCH=$(cat /etc/.arch)
    44
    5 if [ -e /etc/.oebuild ];then
     5if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
    66        opkg update
    77        opkg install strongswan
    8         if [ "$ARCH" == "sh4" ];then
     8        if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
    99                opkg install kernel-module-aes-generic
    1010                opkg install kernel-module-sha1-generic
  • ipk/source.sh4/network_ipsec/CONTROL/postrm

    r45366 r45683  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
    44        sed 's/ipsec=.*//g' -i /mnt/config/start-config
    55        opkg remove strongswan --force-removal-of-dependent-packages
Note: See TracChangeset for help on using the changeset viewer.