summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-12-06 22:25:12 (EST)
committer P. J. McDermott <pj@pehjota.net>2015-12-06 22:25:12 (EST)
commitfc0d6755d22109ebe5dcac58e1c004ad1aceb011 (patch)
tree8260047c922c83263f458074fba6369bcc05edcb /lib
parent10363e4d879d06817a6036ff8c81377455d1ea39 (diff)
cmd/shell: Use register_cmd()
Diffstat (limited to 'lib')
-rw-r--r--lib/cmd/shell.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/cmd/shell.sh b/lib/cmd/shell.sh
index b5b6d69..811ce49 100644
--- a/lib/cmd/shell.sh
+++ b/lib/cmd/shell.sh
@@ -58,3 +58,9 @@ cmd_shell_main()
block_umount "${root}"
fi
}
+
+cmd_shell_register()
+{
+ register_cmd 'shell'
+}
+__init cmd_shell_register