Sophie

Sophie

distrib > Fedora > 16 > x86_64 > media > updates-src > by-pkgid > d140edb27a279ed03248599d2e44e2e8 > files > 5

xdemorse-2.1-1.fc16.src.rpm

#!/bin/sh
#Wrapper script for xdemorse to ensure that user configuration is present
xdemorsebin="/usr/libexec/xdemorse-bin"
#check if user configuration is present
if [ ! -e ~/.xdemorserc ]
then
echo "Creating user configuration file"
cp /usr/share/xdemorse/xdemorserc ~/.xdemorserc
fi
#launch xdemorse
echo "Please configure your serial device in the .xdemorserc file in your users home directory"
$xdemorsebin