summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/impressive-display12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/impressive-display b/bin/impressive-display
index 26a64d3..e0b243d 100755
--- a/bin/impressive-display
+++ b/bin/impressive-display
@@ -143,21 +143,21 @@ if `echo ${!DISPLAYS[@]} | grep -q "$THIS_HOSTNAME"`; then
$OUTPUT "INFO: $THIS_HOSTNAME has extra properties. loading it.."
if echo ${DISPLAYS[$THIS_HOSTNAME]} | grep -q "pdf_uri="; then
- PDF_URI=`echo ${DISPLAYS[$THIS_HOSTNAME]} | sed -r -e 's/.*pdf_uri=([^|]*).*/\1/'`
+ PDF_URI=`echo ${DISPLAYS[$THIS_HOSTNAME]} | sed -r -e 's/.*pdf_uri=([^|]*).*/\1/'`
else
- PDF_URI="$DEFAULT_PDF_URI"
+ PDF_URI="$DEFAULT_PDF_URI"
fi
if echo ${DISPLAYS[$THIS_HOSTNAME]} | grep -q "res="; then
- RESOLUTION=`echo ${DISPLAYS[$THIS_HOSTNAME]} | sed -r -e 's/.*res=([^|]*).*/\1/'`
+ RESOLUTION=`echo ${DISPLAYS[$THIS_HOSTNAME]} | sed -r -e 's/.*res=([^|]*).*/\1/'`
else
- RESOLUTION="$DEFAULT_RESOLUTION"
+ RESOLUTION="$DEFAULT_RESOLUTION"
fi
if echo ${DISPLAYS[$THIS_HOSTNAME]} | grep -q "creds="; then
- PDF_URL_CREDS=`echo ${DISPLAYS[$THIS_HOSTNAME]} | sed -r -e 's/.*creds=([^|]*).*/\1/'`
+ PDF_URL_CREDS=`echo ${DISPLAYS[$THIS_HOSTNAME]} | sed -r -e 's/.*creds=([^|]*).*/\1/'`
else
- PDF_URL_CREDS="$DEFAULT_PDF_URL_CREDS"
+ PDF_URL_CREDS="$DEFAULT_PDF_URL_CREDS"
fi
else
PDF_URI="$DEFAULT_PDF_URI"