if (permAdmin != null) {  permAdmin.setDefaultPermissions(null); String[] permLocations = permAdmin.getLocations(); if (permLocations != null) for (int i = 0; i < permLocations.length; i++) permAdmin.setPermissions(permLocations[i], null); }  if (condPermAdmin != null) for (Enumeration infos = condPermAdmin.getConditionalPermissionInfos(); infos.hasMoreElements();) ((ConditionalPermissionInfo) infos.nextElement()).delete();
	public void _init(CommandInterpreter intp) throws Exception {		if (osgi.isActive()) {			intp.print(newline);			intp.println(ConsoleMsg.CONSOLE_FRAMEWORK_LAUNCHED_PLEASE_SHUTDOWN_MESSAGE);			return;		}		AbstractBundle[] bundles = (AbstractBundle[]) context.getBundles();		int size = bundles.length;		if (size > 0) {			for (int i = 0; i < size; i++) {				AbstractBundle bundle = bundles[i];				if (bundle.getBundleId() != 0) {					try {						bundle.uninstall();					} catch (BundleException e) {						intp.printStackTrace(e);					}				}			}		} else {			intp.println(ConsoleMsg.CONSOLE_NO_INSTALLED_BUNDLES_ERROR);		}	}