private boolean runCommand(String cmd) {
		try {
			String[] bashCmd = {
					"/bin/sh",
					"-c",
					cmd};
			Process p = Runtime.getRuntime().exec(bashCmd);
			BufferedReader reader = new BufferedReader(new InputStreamReader(
					p.getInputStream()));
			String line = reader.readLine();
			while (line != null) {
				System.out.println(line);
				line = reader.readLine();
			}
			p.waitFor();
			return true;
		} catch (InterruptedException e) {
			return false;
		} catch (IOException e) {
			return false;
		}
	}