From 3a7800ec995a48320073db6e2ac53611fecfb9b7 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Fri, 2 May 2014 09:30:29 -0400 Subject: [PATCH] Add map-services for debian distros. DIB's map-services is currently used in TIE's os-svc-config binaries to support service name lookups. Many of the systemd specific functions require bin/map-services to exist. This change adds bin/map-services files that are noops to both the debian and ubuntu elements so that as those distros move towards using systemd they can make use of the functions we already have in place. Change-Id: If8d61f3858b11de86c3292e840d033e5e3cecedb --- elements/debian/bin/map-services | 6 ++++++ elements/ubuntu/bin/map-services | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100755 elements/debian/bin/map-services create mode 100755 elements/ubuntu/bin/map-services diff --git a/elements/debian/bin/map-services b/elements/debian/bin/map-services new file mode 100755 index 00000000..2445c5bc --- /dev/null +++ b/elements/debian/bin/map-services @@ -0,0 +1,6 @@ +#!/bin/bash +set -eu + +# For Debian map-services is currently a noop +# We pass through the service name directly +echo "$@" diff --git a/elements/ubuntu/bin/map-services b/elements/ubuntu/bin/map-services new file mode 100755 index 00000000..7312b77b --- /dev/null +++ b/elements/ubuntu/bin/map-services @@ -0,0 +1,6 @@ +#!/bin/bash +set -eu + +# For Ubuntu map-services is currently a noop +# We pass through the service name directly +echo "$@"