Variables And Parameters; Imaging Script Variables - Novell ZENWORKS LINUX MANAGEMENT 7.3 IR2 - ADMINISTRATION GUIDE 02-12-2010 Administration Manual

Table of Contents

Advertisement

#!/bin/sh
#uname
if [ $KRNLVERSION"a" = "a" ] ; then
if [ $(/bin/orig/uname -r) = "2.6.13-15-smp" ] ; then
export KRNLVERSION=2.6.13-15-smp
else
export KRNLVERSION=2.4.31
fi
fi
if [ $1"a" = "-ra" ] ; then
echo $KRNLVERSION
else
/bin/orig/uname $*
fi
IMPORTANT: Replace the strings "2.6.13-15-smp" with the version you found in Step 1.
5 To make the new
uname
chmod +x /bin/uname
6 Enter the following to cause the
compiling a module:
export KRNLVERSION="2.6.5-7.191"
7 Following the manufacturer's directions, compile the module using the appropriate
command.
8 Reset
so that it returns actual values:
uname
unset KRNLVERSION
F.7 Variables and Parameters
The following sections describe the variables and parameters used in updating resource files:
Section F.7.1, "Imaging Script Variables," on page 659
Section F.7.2, "Linuxrc Parameters Specified in Settings.txt," on page 660
Section F.7.3, "Image Engine Variables," on page 660
F.7.1 Imaging Script Variables
The following environment variables are used in imaging scripts and must not be modified:

Imaging Script Variables

Table F-1
Variable
Definition
ACTIVEPARTITION Device of the active OS partition.
CDBOOT
YES = Booted from a CD.
DISABLEZEN
1 = Disable the ZENworks partition.
ENABLEZEN
1 = Re-enable the ZENworks partition.
ZENDEVICE
Device name of the ZENworks partition.
command script executable, enter:
command to return a specific version, such as when
uname -r
Updating ZENworks Imaging Resource Files 659
make

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks linux management 7.3 ir2

Table of Contents