source: ipk/source.sh4/tools_IP-Kamera/CONTROL/postinst@ 47351

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

update lost files with install echo

  • Property svn:executable set to *
File size: 456 bytes
Line 
1#!/bin/sh
2
3echo Use Install Dest: $1
4echo Start Install Script: $0
5
6
7if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
8 opkg update
9 opkg install titan-plugin-tools-instar --dest $1
10fi
11
12INSTDIR="$1"
13PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/instar"
14
15if [ -e /tmp/instar.conf ]; then
16 mv "$PLUGINDIR/instar.conf" "$PLUGINDIR/instar.conf_org"
17 cp /tmp/instar.conf "$PLUGINDIR/instar.conf"
18 rm /tmp/instar.conf
19fi
20
21exit 0
Note: See TracBrowser for help on using the repository browser.