Changeset 3527


Ignore:
Timestamp:
Feb 6, 2017, 11:36:52 AM (2 years ago)
Author:
mabarracus
Message:

Add examples

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-detect/trunk/fuentes/lliurex-detect.install/usr/bin/lliurex-detect

    r3524 r3527  
    22
    33#
    4 # TODO: Detect live systems
    5 #
    6 #
    7 
     4# Examples:
     5# Export all variables into environment:>  eval export $(lliurex-detect -e -a)
     6# Test one condition:> lliurex-detect -x thin && echo si || echo no
     7# Test one condition:> if lliurex-detect -x ltsp; then echo si; else echo no; fi
     8# Get flavour:> FLA=$(lliurex-detect -f)
     9#
    810import sys
    911import os
Note: See TracChangeset for help on using the changeset viewer.