Thread
:
[Support thread] Billboard Standby Screen
View Single Post
fhutt
2013-11-07 , 22:32
Posts: 49 | Thanked: 8 times | Joined on Oct 2013
#
1035
Slarti, thank you for the idea.
Unfortunately, I have no experience with sh and have difficulty getting it to work.
I substituted General, Beep and Silent for your /path strings without the <<>> like this:
#!/bin/sh
profile=$1
if [ $profile = "general" ]
then echo -n "General"
else if [ $profile = "meeting" ]
then echo -n "Beep"
else if [ $profile = "silent" ]
then echo -n "Silent"
fi;fi;fi
It doesn't work with Billboard. So, I tried with opening terminal in my folder /home/user/Billboard and tried to run:
sh Profile.sh general
I get errors like this:
: not found: line 2:
: not found: line 3:
sh: missing ]
sh: missing ]
sh: missing ]
Where do I go from here?
Thanks
Last edited by fhutt; 2013-11-07 at
22:40
. Reason: Left out command line argument "general"
Quote & Reply
|
fhutt
View Public Profile
Send a private message to fhutt
Find all posts by fhutt