User:Ixo/Script/xo-sysinfo: Difference between revisions
Jump to navigation
Jump to search
m (Shuffled ixo-info script.) |
Tvoverbeek (talk | contribs) mNo edit summary |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
Summary |
Summary |
||
<onlyinclude> |
|||
<includeonly> |
|||
* |
* xo-sysinfo: Quickly display various useful troubleshooting build information about the XO Laptop |
||
</ |
</onlyinclude> |
||
Description |
Description |
||
* |
* Quickly display various useful troubleshooting information about the XO Laptop |
||
* Shows current os version: /etc/issue /boot/olpc_build |
* Shows current os version: /etc/issue /boot/olpc_build |
||
* Shows available os versions /versions/pristine/*/boot/olpc_build |
* Shows available os versions /versions/pristine/*/boot/olpc_build |
||
Line 17: | Line 17: | ||
#!/usr/bin/bash |
#!/usr/bin/bash |
||
#### FILE: xo- |
#### FILE: xo-sysinfo ######## |
||
# 2008 01 12, Iain D, ixo AT myna DOT ws |
# 2008 01 12, Iain D, ixo AT myna DOT ws |
||
## RELEASED under CC- |
## RELEASED under CC-GNU GPL 3.0 license. |
||
grep -v "garbage-to-ignore" /etc/issue /boot/olpc_build /versions/pristine/*/boot/olpc_build |
grep -v "garbage-to-ignore" /etc/issue /boot/olpc_build /versions/pristine/*/boot/olpc_build |
Latest revision as of 01:02, 18 September 2008
Summary
- xo-sysinfo: Quickly display various useful troubleshooting build information about the XO Laptop
Description
- Quickly display various useful troubleshooting information about the XO Laptop
- Shows current os version: /etc/issue /boot/olpc_build
- Shows available os versions /versions/pristine/*/boot/olpc_build
- Show available os hash info
- /versions/running /versions/boot
- /versions/* /versions/contents/* /versions/pristine/* /versions/configs/*
Benefits
- Show both versions (current and alt-boot) of OS installed on the system
#!/usr/bin/bash #### FILE: xo-sysinfo ######## # 2008 01 12, Iain D, ixo AT myna DOT ws ## RELEASED under CC-GNU GPL 3.0 license. grep -v "garbage-to-ignore" /etc/issue /boot/olpc_build /versions/pristine/*/boot/olpc_build ls -Ld /versions/* /versions/contents/* /versions/pristine/* /versions/configs/* ls -ld /versions/running /versions/boot