summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-12-06 22:25:47 (EST)
committer P. J. McDermott <pj@pehjota.net>2015-12-06 22:25:47 (EST)
commit726fbc07bca1528e4d845cdc6814e40664ed4058 (patch)
tree0709e150d7ef06b277f0bbc5cf1db07eecbd5e53 /lib
parentfc0d6755d22109ebe5dcac58e1c004ad1aceb011 (diff)
cmd/opkg: Use register_cmd()
Diffstat (limited to 'lib')
-rw-r--r--lib/cmd/opkg.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/cmd/opkg.sh b/lib/cmd/opkg.sh
index 51b90dc..dc7bc04 100644
--- a/lib/cmd/opkg.sh
+++ b/lib/cmd/opkg.sh
@@ -109,3 +109,9 @@ cmd_opkg_fini()
;;
esac
}
+
+cmd_opkg_register()
+{
+ register_cmd 'opkg'
+}
+__init cmd_opkg_register