Situation
I implemented this script successfully and tried to add a link to a FileMaker database.
The link structure is as follows: FMP://fms.server.com/name_database and is as such being used for the HOSTNAME variable.
I added the following section to the script:
if [[ $HOSTNAME == fmp* ]]; then
FILEEXT=inetloc
DEFAULTICON="/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/GenericFileServerIcon.icns"
fi
I also defined both the DISPLAYNAME and ICON variables.
Problem
The problem is that:
- the icon is not being accepted (generic icon is being applied)
- the desktop shortcut is being added every time after a login and as such doubles up every time.
Thanks for having a look.
Situation
I implemented this script successfully and tried to add a link to a FileMaker database.
The link structure is as follows:
FMP://fms.server.com/name_databaseand is as such being used for theHOSTNAMEvariable.I added the following section to the script:
I also defined both the
DISPLAYNAMEandICONvariables.Problem
The problem is that:
Thanks for having a look.