Implement the cleanup of share-1 share-2 ... on system default mount-path by profile default mount path
At this time there is a routine looking for SHARENAME-1
, SHARENAME-2
, ... directories under the default mountpath defined by MDM/configuration profile. The same should be done for other mountpaths, e.g. system's default /Volume
path.
but I would be very careful with directories containing other data. If a mountpoint is located in user-home, for example, there could be unpleasant side effects. Therefore you should limit yourself to the standard directories (see above).