Enjoy Slackware 15.0!
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
howtos:misc:script_autostart_output_to_console_x [2013/10/02 05:39 (UTC)] wisedraco created |
howtos:misc:script_autostart_output_to_console_x [2015/09/12 02:51 (UTC)] didierspaier Merge lines for easier conversion to other format, no visual change. |
||
---|---|---|---|
Line 1: | Line 1: | ||
<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
- | ====== | + | ====== Script with autostart function and output to defined console.====== |
- | Script with autostart function and output to defined console. | + | |
There is instruction, | There is instruction, | ||
+ | |||
In that case we cannot put script start in / | In that case we cannot put script start in / | ||
- | <key>crontab -e</ | + | '' |
and in crontab, we write: | and in crontab, we write: | ||
- | '' | + | |
+ | '' | ||
script itself have construction like that: | script itself have construction like that: | ||
- | '' | + | '' |
- | #!/bin/sh | + | |
- | tail -f / | + | |
- | where /dev/tty2 is console 2, /dev/tty3 is console 3, and so on. | + | where __/dev/tty2__ |
Line 27: | Line 26: | ||
<!-- * Originally written by [[wiki: | <!-- * Originally written by [[wiki: | ||
<!-- * Contributions by [[wiki: | <!-- * Contributions by [[wiki: | ||
- | * Originally written by [[wiki: | + | * Originally written by [[wiki: |
--- // | --- // | ||
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
<!-- You must remove the tag-word " | <!-- You must remove the tag-word " | ||
- | {{tag> | + | {{tag> |