Skip to content

Enable chaining of commands in inittab

Latest
Compare
Choose a tag to compare
@slicer69 slicer69 released this 21 Oct 18:41

The new 3.11 release introduces one important feature and a handful of documentation fixes.

The highlight of this release is the ability to chain together multiple commands in the inittab file. This allows the administrator to use command line AND or OR logic inside the inittab file. For example:

  ww:c:once:/usr/bin/command1 || echo "Command failed" > /var/log/command

Alternatively....

 ww:c:once:/usr/bin/command1 && echo "Success" > /var/log/command"

Documentation on which symbols are allowed in the inittab file has been updated.

The rest of the changes for this version of SysV deal with the syntax and typos in the manual pages. In particular, the inittab, halt, and fstab-decode manual pages have been updated.