Drop register-prop

Partially reverts 2ae06a4e47
This commit is contained in:
Disassembler 2020-04-10 12:06:37 +02:00
parent a3cb2c8c31
commit 8bc64a6493
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499

View File

@ -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: