Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance changes to IRLP custom files in install script #2

Open
GoogleCodeExporter opened this issue Apr 16, 2015 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

Modify echo-install to add logic to check for existance of EchoIRLP scripts
within custom_decode, custom_on, custom_off, and environment file changes.
 This will allow IRLP to function if EchoIRLP is removed, or if IRLP is
restored from a backup without EchoIRLP.

custom_decode Example:

if [ -x "$ECHO_SCRIPT/echo_end" ] ; then
# Use EchoIRLP to disconnect
  if [ "$1" = "73" ] ; then "$ECHO_SCRIPT"/echo_end ; exit 1 ; fi
fi

if [ -x "$ECHO_SCRIPT/echo_call" ] ; then
# Echolink Prefix detector
# If you change the EchoIRLP prefix, you must also change "num" below to
the number of digits in the prefix.
eval `echo $1 | awk -v num= '{
     print "PRE="substr($1,1,num);
     print "NODE="substr($1,(num)+1,length($1))}'`
#Call echolink conferences using star node method
if [ "$PRE" = "S" ] ; then "$ECHO_SCRIPT"/echo_call $NODE ; exit 1 ; fi
fi

Original issue reported on code.google.com by [email protected] on 11 Sep 2006 at 5:45

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 11 Sep 2006 at 6:23

  • Changed title: Enhance changes to IRLP custom files in install script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant