summaryrefslogtreecommitdiffstats
path: root/src/service
diff options
context:
space:
mode:
Diffstat (limited to 'src/service')
-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
5 files changed, 56 insertions, 56 deletions
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