From e2e4c2d7ceb7cad0de09df85fbbda827b6f67728 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 9 May 2012 23:13:13 -0400 Subject: [PATCH] Allow service 'enable' parameter be 'enabled', which is what I'd personally try to use. --- service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service b/service index 63c4fe8bc70..87ce881b46a 100755 --- a/service +++ b/service @@ -117,7 +117,7 @@ if name is None: state = params.get('state', None) list_items = params.get('list', None) -enable = params.get('enable', None) +enable = params.get('enabled', params.get('enable', None)) # running and started are the same if state and state.lower() not in [ 'running', 'started', 'stopped', 'restarted' ]: