summaryrefslogtreecommitdiffstats
path: root/plugins/plugin_mdadmconf.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/plugin_mdadmconf.py')
-rw-r--r--plugins/plugin_mdadmconf.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/plugin_mdadmconf.py b/plugins/plugin_mdadmconf.py
index 246854b..9344c94 100644
--- a/plugins/plugin_mdadmconf.py
+++ b/plugins/plugin_mdadmconf.py
@@ -64,7 +64,7 @@ class MdadmConfig(Plugin):
self._reporting.info("Scanning for software raid with mdadm.",
level = PLUGIN, origin = self)
mdadmargs = ["--misc", "--detail", "--scan"]
- proc = spawnvch(executable = "mdamd", args = mdadmargs,
+ proc = spawnvch(executable = "mdadm", args = mdadmargs,
chroot = Config.system.root)
(out, err) = proc.communicate()
@@ -102,7 +102,7 @@ class MdadmConfig(Plugin):
# in the curren config file.
for key, value in self.scannedFileDict.iteritems():
if not self.currentFileDict.has_key(key):
- self._reporting.info("Found that the current mdamd.conf is " \
+ self._reporting.info("Found that the current mdadm.conf is " \
"missing %s."%value, level = PLUGIN, origin = self)
self._result = ReturnFailure
return
@@ -148,7 +148,7 @@ class MdadmConfig(Plugin):
# mdadm.conf.firstaidkit, just in case.
self._reporting.info("Will put the old mdadm.conf in %s."%
os.path.join(Config.system.root,
- "etc/mdamd.conf.firstaidkit"),
+ "etc/mdadm.conf.firstaidkit"),
level = PLUGIN, origin = self)
self.backupSpace.restoreName(self.configFile,
path = self.configFile+".firstaidkit")