![Advantech RSB-4220 User Manual Download Page 61](http://html1.mh-extra.com/html/advantech/rsb-4220/rsb-4220_user-manual_2857962061.webp)
55
RSB-4220 User Manual
Chapter 3
S
oftware
Functionality
3.8.10
Add a Startup items when boot
1.
Remove a Startup items:
update-rc.d [-n] [-f] [-r <root>] <basename> remove
basename is your service script name
eg. update-rc.d -f matrix-gui-2.0 remove
2.
Add a Startup items:
Firstly,You must ensure that the service script is exists,then run the flowing com-
mand:
update-rc.d [-n] [-r <root>] [-s] <basename> start|stop NN runlvl [runlvl] [...] .
start|stop : when system start /shutdown the basename wiil run automatically
NN: 0~99
runlvl: RSB4220 runlevel is 5(default);
eg. update-rc.d networking start 40 5 .
then you can find the S40networking in rc5.d directory;
3.8.11
Package online install
3.8.11.1
OPKG Package Manager
Opkg is a lightweight package management system. It is written in C and resembles
apt/dpkg/yum in operation. It is intended for use on embedded Linux devices and is
used in this capacity in the OpenEmbedded and OpenWrt projects.
Advantech Embedded Linux for RSB-4220 has built-in OPKG package manager, with
this tool you can install most of the required software online, and manage them, such
as uninstall, upgrades and so on.
3.8.11.2
Installation New Software package
If you want to install a software which is not exist in the current OS, you should follow
the steps below
1.
Update the online software source:
2.
Search whether the software source server has the software you need.
3.
Find the full name of the software you need in the search result list. And install it
by following command:
advantech# opkg install packagename
3.8.11.3
More about OPKG
More about use and development of OPKG, Please refer to the project website of
OPKG:
https://code.google.com/p/opkg/
advantech# opkg update
advantech# opkg list | grep package
Note!
Package is the keywords of the software name, for example, you want
to search an ftp server, and the package should be ‘ftp’.