#!/bin/bash
 ##########################################################################
 # sample - Example of use of gesconf .
 # Version:     0.3.8 13/10/2007
 # File:        sample
 # Description: Example of use of gesconf .
 # Platform(s):	GNU/Linux, All
 # Author(s):	Della Bianca Giuseppe <bepi@adria.it><bepii@libero.it>
 ##########################################################################
. ./samplefunc

export FileMulty="./sampleM.ini"
export FileX11="./XF86Config-4"
export GFS=$'\007'
export OLDIFS=$IFS

cp ./sampleM_copy.ini $FileMulty
cp ./XF86Config-4_copy $FileX11

if ! [ -x ./sample.tmp ]; then
    touch ./sample.tmp
    chmod u+x ./sample.tmp
fi

text="Example of use of this configuration file:\n"
PrintWait "$text" "$FileMulty"
BasicExample
LockExample

text="Example of use of this XF86/xorg configuration file:\n"
tail -24 "$FileX11" > sample.tmp
PrintWait "$text" sample.tmp

X11Example
