autofs mount of nfs and afp with stardom NAS and Synology NAS

Stardom come with nfs
Synology come with afp

Use below to automount afp

1) add below to /etc/auto_master
/afp auto_afp
2) add below to auto_afp
mountpoint -fstype=afp afp://username:password@synology_ip_address/afp_share
3) use below to refresh autofs
automount -vc

Use below to automount nfs
1) add below to /etc/fstab
stardom_ip_address:/mnt/ide1/nfs_share /opt/nfs_share nfs resvport rw 0 0
2) use below to refresh autofs
automount -vc