Remove Installed Application - Advanced Card Systems ACR350 User Manual

Secure validator with qr code scanner
Table of Contents

Advertisement

3.3.2.2.
Copy Application Automatically at Power Up with Startup Script
This method provides a way to copy application to multiple device using media like USB thumb drive
or SD card.
a.
Create a "startup.x" script file. It should contain the following:
#!/bin/bash
displayMessage()
{
echo $1
echo $1 > /dev/console
}
echo 1 > /sys/class/vtconsole/vtcon1/bind
root
displayMessage "Installing the Application"
cp -rf ./<app_folder>/data
mv /data/<app_folder>/startup.x /data
displayMessage "Installation Complete"
echo 0 > /sys/class/vtconsole/vtcon1/bind
sync
/data/startup.x &
Note:
<app_folder>
b.
Put the "startup.x" and the application in the media (such as USB thumb drive or SD card)
c.
Insert the media into ACR350. Power ON ACR350.
d.
The new application will run after successful installation.
e.
Turn OFF the device and remove the media. Power ON to launch the new application by
default.
3.3.3.

Remove Installed Application

To remove the startup.x and the application:
a. Enter console mode (Refer to
b. Login to ACR350 console mode.
c. Perform following commands
cd /data
rm startup.x
rm –rf
reboot
Note:
<app_folder>
ACR350 Validator with QR Code Scanner – User Manual
Version 1.02
is the application folder, e.g.
Section
/data/<app_folder>
is the application folder where the application files are stored
app
where the application files are stored
2.5).
Page 60 of 61
info@acs.com.hk
www.acs.com.hk

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ACR350 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents