}
free(p);
}
+
+ /* the master loaded the volumes for zeroconf, get rid of that */
+ unload_volumes_and_extmap();
}
#ifdef USE_SRVLOC
first = AFPConfigInit(cmdline, cmdline);
/* Now register with zeroconf, we also need the volumes for that */
- readvolfile(&first->obj, &first->obj.options.systemvol, NULL, 0, NULL);
-
+ load_volumes(&first->obj);
zeroconf_register(first);
return first;