source: ipk/source.sh4/tools_callmonitor/CONTROL/postinst

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

update lost files with install echo

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