Run a simple shell (.sh) script as a Logi…
Imported from the Apple Support Forums via the Wayback Machine 🔗
So here is the situation...all I want to do it start up and connect my synergy client when I login to the machine. I have a small shell script that does this. It looks like:
#!/bin/sh
# Start synergy and connect to basd-wd-19870
/Applications/synergy-1.3.1/synergyc basd-wd-19870
The "basd-wd-19870" is the name of my workstation the client should connect to. This is why I can't simply select the executable itself. When I run the "synergy.sh" file, it simply opens as a TextEdit file. I did "chmod 744 synergy.sh" and this runs fine from terminal.
I am trying to avoid using the Login Hook as others have suggested in other topics, as I am not familiar with them and don't really want to get that complicated if I don't have to.
Any suggestions?
4 replies
Sign in or join Beachball Help to reply.
- 0
- 0
- 0
- 0