summaryrefslogtreecommitdiffstats
path: root/modules.d/30convertfs/do-convertfs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'modules.d/30convertfs/do-convertfs.sh')
-rwxr-xr-xmodules.d/30convertfs/do-convertfs.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules.d/30convertfs/do-convertfs.sh b/modules.d/30convertfs/do-convertfs.sh
new file mode 100755
index 0000000..6ce31cb
--- /dev/null
+++ b/modules.d/30convertfs/do-convertfs.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+if getargbool 0 rd.convertfs; then
+ if getargbool 0 rd.debug; then
+ bash -x convertfs "$NEWROOT" 2>&1 | vinfo
+ else
+ convertfs "$NEWROOT" 2>&1 | vinfo
+ fi
+fi