-TiLT- Posted May 29, 2006 Share Posted May 29, 2006 Hi, I need to have a symbolic link in /Network/... The link origin lies in a Mountpoint. (ln -s /Mountpoint/yyy/ /Network/yyy) It works fine until I reboot. Then the link is gone. Played around with /etc/rc and /Library/StartupItems, but it seems they do this too early and the link is removed lateron during startup process. It is important to have that for everyone that logs on. Any ideas? Cheers -TiLT- Link to comment Share on other sites More sharing options...
-TiLT- Posted May 30, 2006 Author Share Posted May 30, 2006 Okay I found out myself. I created a new StartupItem in /Library/StartupItems called Linker It inclueds these files: Linker (chmod 755) StartupParameters.plist (chmod 644) Linker: #!/bin/sh . /etc/rc.common ln -s /Mount/path1/ /Network/path1a ln -s /Mount/path2/ /Network/path2a StartupParameters.plist { Description = "Description"; Provides = ("something shorter than Description"); Requires = ("Network", "Disks", "NFS"); OrderPreference = "Last"; } That way I can be sure, the links are created when everything is up (Network, Disks, automounts). Maybe someone else needs that. Cheers -TiLT- Link to comment Share on other sites More sharing options...
Recommended Posts