From: Martin Skorupski Date: Sat, 21 Sep 2024 13:00:25 +0000 (+0200) Subject: Do your housekeeping X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F73%2F13373%2F1;p=oam.git Do your housekeeping - In file license statement is suggested Issue-ID: OAM-411 Change-Id: Ic1b3db7a12e5f5179a28639d2ee237b4b4a4a2ba Signed-off-by: Martin Skorupski --- diff --git a/solution/append_to_etc_hosts.sh b/solution/append_to_etc_hosts.sh index 779dc48..af3ffcd 100755 --- a/solution/append_to_etc_hosts.sh +++ b/solution/append_to_etc_hosts.sh @@ -1,4 +1,20 @@ #!/bin/bash +################################################################################ +# Copyright 2024 highstreet technologies +# +# Licensed under the Apache License, Version 2.0 (the 'License'); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an 'AS IS' BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) cat $SCRIPT_DIR/append_to_etc_hosts.txt >> /etc/hosts cat /etc/hosts \ No newline at end of file