User's Manual
Preparing the Script Files for Deployment Using Embedded Linux 115
Editing the tkenvset.sh Script
The majority of the editing required for the DTK sample scripts involves the
following script. As a result, the majority of the scripting discussion focuses on
tkenvset.sh. Other task scripts might require edits in certain situations. These
optional edits are discussed in "Editing DTK Task Scripts."
tkenvset.sh
The tkenvset.sh script sets the paths for the 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