04.06.2013 Views

UCS 2.4 - Univention

UCS 2.4 - Univention

UCS 2.4 - Univention

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

15 <strong>Univention</strong> System Setup<br />

/var/lib/univention-setup/nameserver.post Name server<br />

/var/lib/univention-setup/dnsforwarder.post DNS forwarder<br />

/var/lib/univention-setup/httpproxy.post HTTP proxy<br />

Scripts with file names which end in pre are run before the change is adopted, and scripts with post<br />

afterwards. The file names of the scripts must not include any additional full stops.<br />

For the respective shell script the old value is taken as the first and the new value as the second parameter.<br />

For some module several values must be transferred to the scripts. These are summarised to one value<br />

in a special syntax.<br />

The syntax for network interfaces is:<br />

#DEVICE-IP-NETWORK-NETMASK(..)<br />

For example, if the user changes the IP address of the first network card eth0 from 10.200.3.100<br />

to 10.200.3.200 whilst keeping the network properties the same, the parameters #eth0-10.200.3.100-<br />

10.200.100.0-255.255.255 and #eth0-10.200.3.200-10.200.100.0-255.255.255 would be transferred to<br />

the shell script.<br />

The syntax for forwarders and name servers is:<br />

#SERVER1#SERVER2#SERVER3<br />

For example, if two name servers are configured for one system, the value #name-<br />

server1.firma.com#nameserver2.firma.com would be transferred to the shell script.<br />

15.4 Configuration for executing at system start<br />

There is a possibility to run <strong>Univention</strong> System Setup automatically during the system start. This is done by<br />

installing the univention-system-setup-boot package and setting the <strong>Univention</strong> Configuration Registry<br />

variable boot/setup/start to true.<br />

Furthermore, the modules to be started can be defined in the <strong>Univention</strong> Configuration Registry<br />

variable boot/setup/modules. The values correspond to the file name components behind<br />

univention-system-setup. For example, if only the modules for network and keyboard layout should<br />

be shown, the variable should be set to net,keyboard. If the keyboard module has been selected, it is<br />

always run firstly so that the changed setting applies directly for the following modules.<br />

If <strong>Univention</strong> System Setup was run at the system start, the <strong>Univention</strong> Configuration Registry variable<br />

boot/setup/start variable will then be automatically reset to false. For example, this allows precon-<br />

figuration of a system so that only the locally required parameters need to be changed during set-up.<br />

298

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!