improved doc
This commit is contained in:
@@ -72,6 +72,8 @@ if system proxy is set in configuration files.
|
||||
- **-s, --shell**: Launch a shell with entire script's environment for
|
||||
debugging purpose. No action or modification is made to the system unless you
|
||||
launch commands manually doing some.
|
||||
- **--chroot \<path\>**: Allows you to apply init.sh test or modification on a non
|
||||
running system, mounted in the given path.
|
||||
- **-l, --logfile**: Specify a custom name for the log file. Standard log file
|
||||
is named init-hostname-date-time.log in the log subdirectory. That file can also
|
||||
be customized using the LOGFILE environment variable.
|
||||
|
||||
@@ -179,6 +179,10 @@ For example, if you what to write "ATTENTION: this is a warning!" in red with
|
||||
echo -e "${IRed}${On_IYellow}ATTENTION:${DEFAULTBG} this is a warning!${DEFAULTCOL}"
|
||||
```
|
||||
|
||||
Remember to always terminate an *echo -e* using colors with the $DEFAULTCOL
|
||||
variable. If not, any new line might be filled with the last used color and line
|
||||
ending will filled with background color.
|
||||
|
||||
## 4. The filefct.sh file
|
||||
### 4.1. Functions
|
||||
#### 4.1.1. stdtime
|
||||
|
||||
Reference in New Issue
Block a user