• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/Micromax/Linux/active/

Lines Matching refs:INSTALL_PATH

13 INSTALL_PATH=$1
17 echo -e "#!/bin/bash" > $INSTALL_PATH/LCACTIVOR.sh
19 echo -e "if [ \"\$(ps aux | grep -v grep | grep LCACTIVOR.jar | awk '{print \$2}')\" != \"\" ]" >> $INSTALL_PATH/LCACTIVOR.sh
20 echo -e "then" >> $INSTALL_PATH/LCACTIVOR.sh
21 echo -e "exit" >> $INSTALL_PATH/LCACTIVOR.sh
22 echo -e "fi" >> $INSTALL_PATH/LCACTIVOR.sh
24 echo -e "export JAVA_HOME=${INSTALL_PATH}/java/jre1.5.0_15" >> $INSTALL_PATH/LCACTIVOR.sh
25 echo -e "export CLASSPATH=${INSTALL_PATH}/java/jre1.5.0_15/lib:." >> $INSTALL_PATH/LCACTIVOR.sh
26 echo -e "APPDIR=${INSTALL_PATH}" >> $INSTALL_PATH/LCACTIVOR.sh
27 echo -e "cd \${APPDIR}" >> $INSTALL_PATH/LCACTIVOR.sh
28 echo -e "\${APPDIR}/java/jre1.5.0_15/bin/java -Djava.library.path=\${APPDIR}/lib -jar LCACTIVOR.jar &" >> $INSTALL_PATH/LCACTIVOR.sh
29 chmod +x $INSTALL_PATH/LCACTIVOR.sh
31 cp $INSTALL_PATH/active/lcAutoStart.desktop /etc/xdg/autostart/
33 echo "rm -f /etc/xdg/autostart/lcAutoStart.desktop" >> $INSTALL_PATH/active/active_uninstall
41 cp $INSTALL_PATH/active/lcAutoStart.desktop $AUTORUNPATH
43 echo "rm -f $AUTORUNPATH/lcAutoStart.desktop" >> $INSTALL_PATH/active/active_uninstall
50 cp $INSTALL_PATH/active/lcAutoStart.desktop $AUTORUNPATH
52 echo "rm -f $AUTORUNPATH/lcAutoStart.desktop" >> $INSTALL_PATH/active/active_uninstall
58 sed "s#CURPATH#${INSTALL_PATH}#g" $INSTALL_PATH/active/skeleton > $INSTALL_PATH/active/skeleton.bak
60 sed "s#parameter#$2#g" $INSTALL_PATH/active/skeleton.bak > $INSTALL_PATH/active/$CONFNAME
62 rm -f $INSTALL_PATH/active/skeleton.bak
68 cp -f $INSTALL_PATH/active/$CONFNAME /etc/init.d/
73 cp -f $INSTALL_PATH/active/$CONFNAME /etc/rc.d/
78 echo "rm -f $CONFPATH/$CONFNAME" >> $INSTALL_PATH/active/active_uninstall
94 echo "rm -f $ADDRUNLEVEL/$START_CONFNAME" >> $INSTALL_PATH/active/active_uninstall
95 echo "rm -f $ADDRUNLEVEL/$STOP_CONFNAME" >> $INSTALL_PATH/active/active_uninstall
108 cp "$INSTALL_PATH"/active/startUSBModem /sbin/
110 echo "rm -f /sbin/startUSBModem" >> "$INSTALL_PATH"/active/active_uninstall
112 #"$INSTALL_PATH"/LCACTIVOR.sh
113 #"$INSTALL_PATH"/USBModem>>/dev/null 2>&1