summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-12-06 22:27:36 (EST)
committer P. J. McDermott <pj@pehjota.net>2015-12-06 22:27:36 (EST)
commitb0df85656bafbf63664cf21f694fc526f9cf1e2b (patch)
treeeac59c8f25e732008505b59788fa7faf1d1ccdde
parent9c2ffa557a8de012ae53ab33e94772b4fd722d28 (diff)
cmd/installer-pc: Use register_cmd()
-rw-r--r--lib/cmd/installer-pc.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/cmd/installer-pc.sh b/lib/cmd/installer-pc.sh
index 69381d0..162af16 100644
--- a/lib/cmd/installer-pc.sh
+++ b/lib/cmd/installer-pc.sh
@@ -99,3 +99,9 @@ cmd_installer_pc_make_partition_and_fs()
printf 'n\np\n1\n\n\nt\n83\na\n1\nw\n' | fdisk "${dev}"
mke2fs -t ext4 "${dev}1"
}
+
+cmd_installer_pc_register()
+{
+ register_cmd 'installer-pc'
+}
+__init cmd_installer_pc_register