User's Manual
Preparing the Script Files for Deployment Using Embedded Linux 109
Editing the tkenvset.sh Script
The majority of the editing required for DTK sample scripts involves the
tkenvset.sh script. As a result, the scripting discussion focuses on this script.
Other task scripts may require edits in certain situations. These optional edits
are discussed in ""Editing DTK Task Scripts" on page 114."
tkenvset.sh
The tkenvset.sh script sets the paths for DTK utilities and scripts and sets the
variables for the systems to be deployed and configured. These variables and
paths must be specified before any of the scripts can be used.
upinit.sh Creates and populates
the Dell utility
partition.
Do not make any modifi-
cations to the upinit.sh
script.
•
tkenvset.sh
— Used by
upinit.sh
to inform the task scripts where
to find the DTK utilities, scripts,
and configuration files.
•
fdisk
— Used to create
partitions on your disk.
•
mbr
— File necessary to create
a bootable Dell utility
partition.
•
sysdrmk
— Used by
upinit.sh
to patch the boot sector.
•unzip
— Used by
upinit.sh
to
populate the Dell utility
partition.
•
mke2fs
— Used to make a
ext2
file system.
•
upimg.bin
— Contains the
zipped contents of the Dell
utility partition.
Table 8-4. Other Scripts
Script Name Description Associated Files