From dcd6c8fc5bb3968472605fd46fbc78b9f68eb793 Mon Sep 17 00:00:00 2001
From: Imesh Gunaratne <imesh@wso2.com>
Date: Tue, 23 Jul 2013 14:52:26 +0530
Subject: [PATCH] Updated header license in shell scripts in tools

---
 .../init_scripts/default/wso2-openstack-init.sh    |   23 +++++++++++---------
 .../init_scripts/hello/ec2/wso2-cartridge-init.sh  |   23 +++++++++++---------
 .../hello/openstack/wso2-cartridge-init.sh         |   23 +++++++++++---------
 .../init_scripts/mysql/ec2/wso2-cartridge-init.sh  |   23 +++++++++++---------
 .../mysql/openstack/wso2-cartridge-init.sh         |   23 +++++++++++---------
 .../mysql/vcloud/wso2-cartridge-init.sh            |   23 +++++++++++---------
 .../init_scripts/php/ec2/wso2-cartridge-init.sh    |   23 +++++++++++---------
 .../php/openstack/wso2-cartridge-init.sh           |   23 +++++++++++---------
 .../init_scripts/tomcat7/wso2-openstack-init.sh    |   23 +++++++++++---------
 9 files changed, 117 insertions(+), 90 deletions(-)

diff --git a/tools/cartridge_create/init_scripts/default/wso2-openstack-init.sh b/tools/cartridge_create/init_scripts/default/wso2-openstack-init.sh
index aa1c8a0..7e8430a 100644
--- a/tools/cartridge_create/init_scripts/default/wso2-openstack-init.sh
+++ b/tools/cartridge_create/init_scripts/default/wso2-openstack-init.sh
@@ -1,19 +1,22 @@
 #!/bin/bash
 
 # ----------------------------------------------------------------------------
-#  Copyright 2005-20012 WSO2, Inc. http://www.wso2.org
-#
-#  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
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you 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.
+#  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.
 
 # ----------------------------------------------------------------------------
 export LOG=/var/log/wso2-openstack.log
diff --git a/tools/cartridge_create/init_scripts/hello/ec2/wso2-cartridge-init.sh b/tools/cartridge_create/init_scripts/hello/ec2/wso2-cartridge-init.sh
index 70f8a1a..5756996 100644
--- a/tools/cartridge_create/init_scripts/hello/ec2/wso2-cartridge-init.sh
+++ b/tools/cartridge_create/init_scripts/hello/ec2/wso2-cartridge-init.sh
@@ -1,19 +1,22 @@
 #!/bin/bash
 
 # ----------------------------------------------------------------------------
-#  Copyright 2005-20012 WSO2, Inc. http://www.wso2.org
-#
-#  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
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you 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.
+#  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.
 
 # ----------------------------------------------------------------------------
 export LOG=/var/log/wso2-cartridge.log
diff --git a/tools/cartridge_create/init_scripts/hello/openstack/wso2-cartridge-init.sh b/tools/cartridge_create/init_scripts/hello/openstack/wso2-cartridge-init.sh
index ff06bca..0128131 100644
--- a/tools/cartridge_create/init_scripts/hello/openstack/wso2-cartridge-init.sh
+++ b/tools/cartridge_create/init_scripts/hello/openstack/wso2-cartridge-init.sh
@@ -1,19 +1,22 @@
 #!/bin/bash
 
 # ----------------------------------------------------------------------------
-#  Copyright 2005-20012 WSO2, Inc. http://www.wso2.org
-#
-#  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
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you 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.
+#  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.
 
 # ----------------------------------------------------------------------------
 export LOG=/var/log/wso2-cartridge.log
diff --git a/tools/cartridge_create/init_scripts/mysql/ec2/wso2-cartridge-init.sh b/tools/cartridge_create/init_scripts/mysql/ec2/wso2-cartridge-init.sh
index 7049993..1170c51 100644
--- a/tools/cartridge_create/init_scripts/mysql/ec2/wso2-cartridge-init.sh
+++ b/tools/cartridge_create/init_scripts/mysql/ec2/wso2-cartridge-init.sh
@@ -1,19 +1,22 @@
 #!/bin/bash
 
 # ----------------------------------------------------------------------------
-#  Copyright 2005-20012 WSO2, Inc. http://www.wso2.org
-#
-#  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
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you 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.
+#  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.
 
 # ----------------------------------------------------------------------------
 export LOG=/var/log/wso2-cartridge.log
diff --git a/tools/cartridge_create/init_scripts/mysql/openstack/wso2-cartridge-init.sh b/tools/cartridge_create/init_scripts/mysql/openstack/wso2-cartridge-init.sh
index 3f8fe9e..21324a3 100644
--- a/tools/cartridge_create/init_scripts/mysql/openstack/wso2-cartridge-init.sh
+++ b/tools/cartridge_create/init_scripts/mysql/openstack/wso2-cartridge-init.sh
@@ -1,19 +1,22 @@
 #!/bin/bash
 
 # ----------------------------------------------------------------------------
-#  Copyright 2005-20012 WSO2, Inc. http://www.wso2.org
-#
-#  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
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you 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.
+#  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.
 
 # ----------------------------------------------------------------------------
 export LOG=/var/log/wso2-cartridge.log
diff --git a/tools/cartridge_create/init_scripts/mysql/vcloud/wso2-cartridge-init.sh b/tools/cartridge_create/init_scripts/mysql/vcloud/wso2-cartridge-init.sh
index 4b5c4f9..07f1da0 100644
--- a/tools/cartridge_create/init_scripts/mysql/vcloud/wso2-cartridge-init.sh
+++ b/tools/cartridge_create/init_scripts/mysql/vcloud/wso2-cartridge-init.sh
@@ -1,19 +1,22 @@
 #!/bin/bash
 
 # ----------------------------------------------------------------------------
-#  Copyright 2005-20012 WSO2, Inc. http://www.wso2.org
-#
-#  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
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you 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.
+#  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.
 
 # ----------------------------------------------------------------------------
 export LOG=/var/log/wso2-cartridge.log
diff --git a/tools/cartridge_create/init_scripts/php/ec2/wso2-cartridge-init.sh b/tools/cartridge_create/init_scripts/php/ec2/wso2-cartridge-init.sh
index ac37f37..16f27f2 100644
--- a/tools/cartridge_create/init_scripts/php/ec2/wso2-cartridge-init.sh
+++ b/tools/cartridge_create/init_scripts/php/ec2/wso2-cartridge-init.sh
@@ -1,19 +1,22 @@
 #!/bin/bash
 
 # ----------------------------------------------------------------------------
-#  Copyright 2005-20012 WSO2, Inc. http://www.wso2.org
-#
-#  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
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you 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.
+#  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.
 
 # ----------------------------------------------------------------------------
 export LOG=/var/log/wso2-cartridge.log
diff --git a/tools/cartridge_create/init_scripts/php/openstack/wso2-cartridge-init.sh b/tools/cartridge_create/init_scripts/php/openstack/wso2-cartridge-init.sh
index ae2f818..71bdc20 100644
--- a/tools/cartridge_create/init_scripts/php/openstack/wso2-cartridge-init.sh
+++ b/tools/cartridge_create/init_scripts/php/openstack/wso2-cartridge-init.sh
@@ -1,19 +1,22 @@
 #!/bin/bash
 
 # ----------------------------------------------------------------------------
-#  Copyright 2005-20012 WSO2, Inc. http://www.wso2.org
-#
-#  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
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you 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.
+#  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.
 
 # ----------------------------------------------------------------------------
 export LOG=/var/log/wso2-cartridge.log
diff --git a/tools/cartridge_create/init_scripts/tomcat7/wso2-openstack-init.sh b/tools/cartridge_create/init_scripts/tomcat7/wso2-openstack-init.sh
index 500f209..129a150 100644
--- a/tools/cartridge_create/init_scripts/tomcat7/wso2-openstack-init.sh
+++ b/tools/cartridge_create/init_scripts/tomcat7/wso2-openstack-init.sh
@@ -1,19 +1,22 @@
 #!/bin/bash
 
 # ----------------------------------------------------------------------------
-#  Copyright 2005-20012 WSO2, Inc. http://www.wso2.org
-#
-#  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
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you 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.
+#  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.
 
 # ----------------------------------------------------------------------------
 export LOG=/var/log/wso2-openstack.log
-- 
1.7.10.4

