summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRadek Novacek <rnovacek@redhat.com>2012-08-02 09:19:00 +0200
committerRadek Novacek <rnovacek@redhat.com>2012-08-02 10:30:49 +0200
commitd47169b3175a564a22de716510ed5e2bf30b6815 (patch)
tree5fc97325d70f27bc2fe79bb391f2e38c4e05c8d9 /src
parentbd599b541f51aca1195032537f54d01c6e0387bb (diff)
downloadopenlmi-providers-d47169b3175a564a22de716510ed5e2bf30b6815.tar.gz
openlmi-providers-d47169b3175a564a22de716510ed5e2bf30b6815.tar.xz
openlmi-providers-d47169b3175a564a22de716510ed5e2bf30b6815.zip
Add GPLv2 license file and GPLv2+ headers to all files
Diffstat (limited to 'src')
-rw-r--r--src/fan/Cura_FanAssociatedSensorProvider.c18
-rw-r--r--src/fan/Cura_FanProvider.c18
-rw-r--r--src/fan/Cura_FanSensorProvider.c18
-rw-r--r--src/fan/fan.c19
-rw-r--r--src/fan/fan.h19
-rw-r--r--src/globals.c16
-rw-r--r--src/globals.h16
-rw-r--r--src/power/Cura_AssociatedPowerManagementServiceProvider.c16
-rw-r--r--src/power/Cura_ConcreteJobProvider.c17
-rw-r--r--src/power/Cura_ElementCapabilitiesProvider.c17
-rw-r--r--src/power/Cura_HostedServiceProvider.c16
-rw-r--r--src/power/Cura_PowerManagementCapabilitiesProvider.c17
-rw-r--r--src/power/Cura_PowerManagementServiceProvider.c16
-rw-r--r--src/power/power.c17
-rw-r--r--src/power/power.h17
-rw-r--r--src/service/Cura_ServiceProvider.c18
-rwxr-xr-xsrc/service/util/servicedisc.sh23
-rw-r--r--src/service/util/serviceutil.c24
-rw-r--r--src/service/util/serviceutil.h21
-rwxr-xr-xsrc/service/util/serviceutil.sh26
20 files changed, 295 insertions, 74 deletions
diff --git a/src/fan/Cura_FanAssociatedSensorProvider.c b/src/fan/Cura_FanAssociatedSensorProvider.c
index 185518a..4674171 100644
--- a/src/fan/Cura_FanAssociatedSensorProvider.c
+++ b/src/fan/Cura_FanAssociatedSensorProvider.c
@@ -1,3 +1,21 @@
+/*
+ * Copyright (C) 2012 Michal Minar <miminar@redhat.com>
+ * Copyright (C) 2012 Radek Novacek <rnovacek@redhat.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include <konkret/konkret.h>
#include "Cura_FanAssociatedSensor.h"
#include "fan.h"
diff --git a/src/fan/Cura_FanProvider.c b/src/fan/Cura_FanProvider.c
index 4538b98..cc9e13c 100644
--- a/src/fan/Cura_FanProvider.c
+++ b/src/fan/Cura_FanProvider.c
@@ -1,3 +1,21 @@
+/*
+ * Copyright (C) 2012 Michal Minar <miminar@redhat.com>
+ * Copyright (C) 2012 Radek Novacek <rnovacek@redhat.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include <konkret/konkret.h>
#include <stdint.h>
#include "Cura_Fan.h"
diff --git a/src/fan/Cura_FanSensorProvider.c b/src/fan/Cura_FanSensorProvider.c
index efbc1a5..2965bf5 100644
--- a/src/fan/Cura_FanSensorProvider.c
+++ b/src/fan/Cura_FanSensorProvider.c
@@ -1,3 +1,21 @@
+/*
+ * Copyright (C) 2012 Michal Minar <miminar@redhat.com>
+ * Copyright (C) 2012 Radek Novacek <rnovacek@redhat.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include <konkret/konkret.h>
#include "Cura_FanSensor.h"
#include "fan.h"
diff --git a/src/fan/fan.c b/src/fan/fan.c
index 4ce9495..04a74a0 100644
--- a/src/fan/fan.c
+++ b/src/fan/fan.c
@@ -1,19 +1,20 @@
-/* This file is part of cmpiCura_FanProvider.
+/*
+ * Copyright (C) 2012 Michal Minar <miminar@redhat.com>
*
- * cmpiCura_FanProvider is free software: you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
*
- * cmpiCura_FanProvider is distributed in the hope that it will be useful,
+ * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with cmpiCura_FanProvider. If not, see
- * <http://www.gnu.org/licenses/>.
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/fan/fan.h b/src/fan/fan.h
index a2da25c..316f65c 100644
--- a/src/fan/fan.h
+++ b/src/fan/fan.h
@@ -1,19 +1,20 @@
-/* This file is part of cmpiCura_FanProvider.
+/*
+ * Copyright (C) 2012 Michal Minar <miminar@redhat.com>
*
- * cmpiCura_FanProvider is free software: you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
*
- * cmpiCura_FanProvider is distributed in the hope that it will be useful,
+ * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with cmpiCura_FanProvider. If not, see
- * <http://www.gnu.org/licenses/>.
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+
#ifndef LINUX_FAN_H_
#define LINUX_FAN_H_
diff --git a/src/globals.c b/src/globals.c
index 2a2646b..dbf09e1 100644
--- a/src/globals.c
+++ b/src/globals.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2012 Radek Novacek <rnovacek@redhat.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
#include "globals.h"
diff --git a/src/globals.h b/src/globals.h
index a027656..0f1a586 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2012 Radek Novacek <rnovacek@redhat.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
#ifndef GLOBALS_H
#define GLOBALS_H
diff --git a/src/power/Cura_AssociatedPowerManagementServiceProvider.c b/src/power/Cura_AssociatedPowerManagementServiceProvider.c
index 82c9ea5..81f8883 100644
--- a/src/power/Cura_AssociatedPowerManagementServiceProvider.c
+++ b/src/power/Cura_AssociatedPowerManagementServiceProvider.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2012 Radek Novacek <rnovacek@redhat.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
#include "Cura_AssociatedPowerManagementService.h"
#include "Cura_PowerManagementService.h"
diff --git a/src/power/Cura_ConcreteJobProvider.c b/src/power/Cura_ConcreteJobProvider.c
index cf919d4..54775dc 100644
--- a/src/power/Cura_ConcreteJobProvider.c
+++ b/src/power/Cura_ConcreteJobProvider.c
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2012 Radek Novacek <rnovacek@redhat.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include <konkret/konkret.h>
#include <stdint.h>
#include "Cura_ConcreteJob.h"
diff --git a/src/power/Cura_ElementCapabilitiesProvider.c b/src/power/Cura_ElementCapabilitiesProvider.c
index 0208630..6d08021 100644
--- a/src/power/Cura_ElementCapabilitiesProvider.c
+++ b/src/power/Cura_ElementCapabilitiesProvider.c
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2012 Radek Novacek <rnovacek@redhat.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include <konkret/konkret.h>
#include "Cura_ElementCapabilities.h"
#include "globals.h"
diff --git a/src/power/Cura_HostedServiceProvider.c b/src/power/Cura_HostedServiceProvider.c
index d2023e9..e396446 100644
--- a/src/power/Cura_HostedServiceProvider.c
+++ b/src/power/Cura_HostedServiceProvider.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2012 Radek Novacek <rnovacek@redhat.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
#include <cmpimacs.h>
#include <konkret/konkret.h>
diff --git a/src/power/Cura_PowerManagementCapabilitiesProvider.c b/src/power/Cura_PowerManagementCapabilitiesProvider.c
index 5e7f4fc..587733c 100644
--- a/src/power/Cura_PowerManagementCapabilitiesProvider.c
+++ b/src/power/Cura_PowerManagementCapabilitiesProvider.c
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2012 Radek Novacek <rnovacek@redhat.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include <konkret/konkret.h>
#include "Cura_PowerManagementCapabilities.h"
diff --git a/src/power/Cura_PowerManagementServiceProvider.c b/src/power/Cura_PowerManagementServiceProvider.c
index dcdb2bc..493cc63 100644
--- a/src/power/Cura_PowerManagementServiceProvider.c
+++ b/src/power/Cura_PowerManagementServiceProvider.c
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2012 Radek Novacek <rnovacek@redhat.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
#include "Cura_PowerManagementService.h"
diff --git a/src/power/power.c b/src/power/power.c
index 4042f4a..bf22b1d 100644
--- a/src/power/power.c
+++ b/src/power/power.c
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2012 Radek Novacek <rnovacek@redhat.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "power.h"
#include <stdlib.h>
diff --git a/src/power/power.h b/src/power/power.h
index 8f1f0bc..1cd30a4 100644
--- a/src/power/power.h
+++ b/src/power/power.h
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2012 Radek Novacek <rnovacek@redhat.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#ifndef POWER_H
#define POWER_H
diff --git a/src/service/Cura_ServiceProvider.c b/src/service/Cura_ServiceProvider.c
index 3d2084c..b8363c7 100644
--- a/src/service/Cura_ServiceProvider.c
+++ b/src/service/Cura_ServiceProvider.c
@@ -1,3 +1,21 @@
+/*
+ * Copyright (C) 2012 Vitezslav Crhonek <vcrhonek@redhat.com>
+ * Copyright (C) 2012 Radek Novacek <rnovacek@redhat.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include <konkret/konkret.h>
#include <stdint.h>
#include "Cura_Service.h"
diff --git a/src/service/util/servicedisc.sh b/src/service/util/servicedisc.sh
index bc74501..f22243b 100755
--- a/src/service/util/servicedisc.sh
+++ b/src/service/util/servicedisc.sh
@@ -1,25 +1,24 @@
#!/bin/sh
#
# servicedisc.sh
-#
-# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
+#
+# Copyright (C) 2012 Vitezslav Crhonek <vcrhonek@redhat.com>
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-# Red Hat Author(s): Vitezslav Crhonek <vcrhonek@redhat.com>
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
#
+
# path to systemd service directory
SYSTEMD_SDIR=/lib/systemd/system
# path to sysv service initscript directory
diff --git a/src/service/util/serviceutil.c b/src/service/util/serviceutil.c
index e41a179..7876c97 100644
--- a/src/service/util/serviceutil.c
+++ b/src/service/util/serviceutil.c
@@ -1,28 +1,22 @@
/*
- * serviceutil.c
+ * Copyright (C) 2012 Vitezslav Crhonek <vcrhonek@redhat.com>
+ * Copyright (C) 2012 Radek Novacek <rnovacek@redhat.com>
*
- * Copyright (C) 2012 Red Hat, Inc. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- * Based on syslogserviceutil.c from sblim-cmpi-syslog written by
- * R Sharada <sharada@in.ibm.com>, Copyright (c) IBM Corp. 2003, 2009
- *
- * Red Hat Author(s): Vitezslav Crhonek <vcrhonek@redhat.com>
*
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/service/util/serviceutil.h b/src/service/util/serviceutil.h
index dd8adea..9fd7abe 100644
--- a/src/service/util/serviceutil.h
+++ b/src/service/util/serviceutil.h
@@ -1,12 +1,10 @@
/*
- * serviceutil.sh
+ * Copyright (C) 2012 Vitezslav Crhonek <vcrhonek@redhat.com>
*
- * Copyright (C) 2012 Red Hat, Inc. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -14,15 +12,10 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- * Based on syslogserviceutil.h from sblim-cmpi-syslog written by
- * R Sharada <sharada@in.ibm.com>, Copyright (c) IBM Corp. 2003, 2009
- *
- * Red Hat Author(s): Vitezslav Crhonek <vcrhonek@redhat.com>
- *
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+
#ifndef SERVICEUTIL_H
#define SERVICEUTIL_H
diff --git a/src/service/util/serviceutil.sh b/src/service/util/serviceutil.sh
index f0e4d98..bcfcf46 100755
--- a/src/service/util/serviceutil.sh
+++ b/src/service/util/serviceutil.sh
@@ -1,28 +1,24 @@
#!/bin/sh
#
# serviceutil.sh
-#
-# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
+#
+# Copyright (C) 2012 Vitezslav Crhonek <vcrhonek@redhat.com>
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-# Based on syslog-service.sh from sblim-cmpi-syslog written by
-# R Sharada <sharada@in.ibm.com>, Copyright (c) IBM Corp. 2003, 2009
#
-# Red Hat Author(s): Vitezslav Crhonek <vcrhonek@redhat.com>
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
#
+
# path to systemd service directory
SYSTEMD_SDIR=/lib/systemd/system
# path to sysv service initscript directory