source: ipk/source/tools_settime/CONTROL/postinst@ 41105

Last change on this file since 41105 was 41105, checked in by andy-1, 8 years ago

fix install settime

File size: 443 bytes
RevLine 
[41100]1#!/bin/sh
[41105]2INSTDIR="$1"
[41100]3
[41105]4sed s#_path_#"$INSTDIR"#g -i "$INSTDIR/etc/oscam.emu"
[41100]5
[41105]6if [ ! -e "$INSTDIR/mnt/config/usercmd.sh" ]; then
[41100]7 echo "use tpk config file: usercmd.sh"
[41105]8 echo "rename $INSTDIR/mnt/config/usercmd.sh.usercmd > $INSTDIR/mnt/config/usercmd.sh"
9 mv "$INSTDIR/mnt/config/usercmd.sh.usercmd" "$INSTDIR/mnt/config/usercmd.sh"
[41100]10else
11 echo "found user config file: usercmd.sh"
[41101]12 echo "skip tpk config file: usercmd.sh.usercmd"
[41100]13fi
14
15exit 0
Note: See TracBrowser for help on using the repository browser.