|
139.
|
|
|
Terminal Window
|
|
|
|
(no translation yet)
|
|
|
|
Located in
chapter10/xinclude.xml:848(title)
|
|
140.
|
|
|
The rc.local file contains a script that is executed after all the other initial scripts. You can insert your own initialisation scripts in this file if you want some services to be executed automatically during the start-up process.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
chapter10/xinclude.xml:857(para)
|
|
141.
|
|
|
The rc.local file opens in the Terminal window. Type the command that you want to run at system start-up before the line, exit 0.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
chapter10/xinclude.xml:864(para)
|
|
142.
|
|
|
$ date >
/home/oem/newbackup
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
chapter10/xinclude.xml:868(screen)
|
|
143.
|
|
|
Making Settings for rc.local File
|
|
|
|
(no translation yet)
|
|
|
|
Located in
chapter10/xinclude.xml:872(title)
|
|
144.
|
|
|
After you enter the command you want executed at system start-up, press CTRL+X to save and exit the edited file.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
chapter10/xinclude.xml:883(para)
|
|
145.
|
|
|
Services Window
|
|
|
|
(no translation yet)
|
|
|
|
Located in
chapter10/xinclude.xml:887(title)
|
|
146.
|
|
|
When you reboot the system, the rc.local file executes. If you want to display the output of the above command, type the following command in the Terminal:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
chapter10/xinclude.xml:898(para)
|
|
147.
|
|
|
$ cat newbackup
|
|
|
|
(no translation yet)
|
|
|
|
Located in
chapter10/xinclude.xml:902(screen)
|
|
148.
|
|
|
The following image shows the output of the above command:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
chapter10/xinclude.xml:904(para)
|