From 8bc64a64933c95d459bf05a6224758cc100410cf Mon Sep 17 00:00:00 2001 From: Disassembler Date: Fri, 10 Apr 2020 12:06:37 +0200 Subject: [PATCH] Drop register-prop Partially reverts 2ae06a4e4741b4c443b71dab59eba3abcec4ba2b --- usr/bin/vmmgr | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/usr/bin/vmmgr b/usr/bin/vmmgr index 37ac1d6..21091f8 100755 --- a/usr/bin/vmmgr +++ b/usr/bin/vmmgr @@ -13,10 +13,6 @@ def unregister_app(app): # Used by package uninstall.sh script vmmgr.unregister_app(app) -def register_prop(app, key, value): - # Used by package install.sh script - config.set_app(app, key, value) - def rebuild_issue(): # Used by inittab on VM startup vmmgr.rebuild_issue() @@ -42,12 +38,6 @@ parser_unregister_app = subparsers.add_parser('unregister-app') parser_unregister_app.set_defaults(action=unregister_app) parser_unregister_app.add_argument('app', help='Application name') -parser_register_prop = subparsers.add_parser('register-prop') -parser_register_prop.set_defaults(action=register_prop) -parser_register_prop.add_argument('app', help='Application name') -parser_register_prop.add_argument('key', help='Property name') -parser_register_prop.add_argument('value', help='Property value') - parser_rebuild_issue = subparsers.add_parser('rebuild-issue') parser_rebuild_issue.set_defaults(action=rebuild_issue) @@ -59,8 +49,6 @@ if args.action is register_app: register_app(args.app, args.host, args.login, args.password) elif args.action is unregister_app: unregister_app(args.app) -elif args.action is register_prop: - register_prop(args.app, args.key, args.value) elif args.action is rebuild_issue: rebuild_issue() elif args.action is init: