1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

switch a few left-over from GPLv2 to GPLv2 or later

This commit is contained in:
Kay Sievers 2010-06-25 11:39:21 +02:00
parent f0565500f4
commit 8b5651bb00
9 changed files with 121 additions and 43 deletions

View File

@ -4,9 +4,18 @@
* Copyright (C) 2005 John Hull <John_Hull@Dell.com> * Copyright (C) 2005 John Hull <John_Hull@Dell.com>
* Copyright (C) 2005 Kay Sievers <kay.sievers@vrfy.org> * Copyright (C) 2005 Kay Sievers <kay.sievers@vrfy.org>
* *
* This program is free software; you can redistribute it and/or modify it * This program is free software: you can redistribute it and/or modify
* under the terms of the GNU General Public License as published by the * it under the terms of the GNU General Public License as published by
* Free Software Foundation version 2 of the License. * 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 _GNU_SOURCE #ifndef _GNU_SOURCE

View File

@ -1,17 +1,23 @@
/* /*
* create_floppy_devices
*
* Create all possible floppy device based on the CMOS type. * Create all possible floppy device based on the CMOS type.
* Based upon code from drivers/block/floppy.c * Based upon code from drivers/block/floppy.c
* *
* Copyright(C) 2005, SUSE Linux Products GmbH * Copyright(C) 2005, SUSE Linux Products GmbH
* *
* Author: * Author: Hannes Reinecke <hare@suse.de>
* Hannes Reinecke <hare@suse.de>
* *
* This program is free software; you can redistribute it and/or modify it * This program is free software: you can redistribute it and/or modify
* under the terms of the GNU General Public License as published by the * it under the terms of the GNU General Public License as published by
* Free Software Foundation version 2 of the License. * 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 <stdio.h> #include <stdio.h>

View File

@ -1,8 +1,22 @@
# functions used by the udev rule generator # functions used by the udev rule generator
# Copyright (C) 2006 Marco d'Itri <md@Linux.IT>
# 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/>.
PATH='/sbin:/bin'
# #
# 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 version 2 of the License.
PATH='/sbin:/bin' PATH='/sbin:/bin'

View File

@ -4,12 +4,21 @@
# #
# It adds symlinks for optical drives based on the device class determined # It adds symlinks for optical drives based on the device class determined
# by cdrom_id and used ID_PATH to identify the device. # by cdrom_id and used ID_PATH to identify the device.
#
# (C) 2006 Marco d'Itri <md@Linux.IT> # (C) 2006 Marco d'Itri <md@Linux.IT>
# #
# This program is free software; you can redistribute it and/or modify it # This program is free software: you can redistribute it and/or modify
# under the terms of the GNU General Public License as published by the # it under the terms of the GNU General Public License as published by
# Free Software Foundation version 2 of the License. # 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/>.
# debug, if UDEV_LOG=<debug> # debug, if UDEV_LOG=<debug>
if [ -n "$UDEV_LOG" ]; then if [ -n "$UDEV_LOG" ]; then

View File

@ -1,12 +1,5 @@
#!/bin/sh -e #!/bin/sh -e
#
# Copyright (C) 2006 Marco d'Itri <md@Linux.IT>
# Copyright (C) 2007 Kay Sievers <kay.sievers@vrfy.org>
#
# 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 version 2 of the License.
#
# This script is run to create persistent network device naming rules # This script is run to create persistent network device naming rules
# based on properties of the device. # based on properties of the device.
# If the interface needs to be renamed, INTERFACE_NEW=<name> will be printed # If the interface needs to be renamed, INTERFACE_NEW=<name> will be printed
@ -22,6 +15,22 @@
# INTERFACE_NAME requested name supplied by external tool # INTERFACE_NAME requested name supplied by external tool
# INTERFACE_NEW new interface name returned by rule writer # INTERFACE_NEW new interface name returned by rule writer
# Copyright (C) 2006 Marco d'Itri <md@Linux.IT>
# Copyright (C) 2007 Kay Sievers <kay.sievers@vrfy.org>
#
# 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/>.
# debug, if UDEV_LOG=<debug> # debug, if UDEV_LOG=<debug>
if [ -n "$UDEV_LOG" ]; then if [ -n "$UDEV_LOG" ]; then
if [ "$UDEV_LOG" -ge 7 ]; then if [ "$UDEV_LOG" -ge 7 ]; then

View File

@ -2,12 +2,18 @@
* Copyright (C) IBM Corp. 2003 * Copyright (C) IBM Corp. 2003
* Copyright (C) SUSE Linux Products GmbH, 2006 * Copyright (C) SUSE Linux Products GmbH, 2006
* *
* Author: * This program is free software: you can redistribute it and/or modify
* Patrick Mansfield<patmans@us.ibm.com> * 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 * This program is distributed in the hope that it will be useful,
* under the terms of the GNU General Public License as published by the * but WITHOUT ANY WARRANTY; without even the implied warranty of
* Free Software Foundation version 2 of the License. * 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 <stdio.h> #include <stdio.h>

View File

@ -1,9 +1,18 @@
/* /*
* Copyright (C) IBM Corp. 2003 * Copyright (C) IBM Corp. 2003
* *
* This program is free software; you can redistribute it and/or modify it * This program is free software: you can redistribute it and/or modify
* under the terms of the GNU General Public License as published by the * it under the terms of the GNU General Public License as published by
* Free Software Foundation version 2 of the License. * 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/>.
*/ */
#define MAX_PATH_LEN 512 #define MAX_PATH_LEN 512

View File

@ -1,12 +1,20 @@
/* /*
* Copyright (C) IBM Corp. 2003 * Copyright (C) IBM Corp. 2003
* *
* Author: * Author: Patrick Mansfield<patmans@us.ibm.com>
* Patrick Mansfield<patmans@us.ibm.com>
* *
* This program is free software; you can redistribute it and/or modify it * This program is free software: you can redistribute it and/or modify
* under the terms of the GNU General Public License as published by the * it under the terms of the GNU General Public License as published by
* Free Software Foundation version 2 of the License. * 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 <sys/types.h> #include <sys/types.h>

View File

@ -3,12 +3,20 @@
* *
* Copyright (c) 2005 SUSE Linux Products GmbH, Germany * Copyright (c) 2005 SUSE Linux Products GmbH, Germany
* *
* Author: * Author: Hannes Reinecke <hare@suse.de>
* Hannes Reinecke <hare@suse.de>
* *
* This program is free software; you can redistribute it and/or modify it * This program is free software: you can redistribute it and/or modify
* under the terms of the GNU General Public License as published by the * it under the terms of the GNU General Public License as published by
* Free Software Foundation version 2 of the License. * 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 <stdio.h> #include <stdio.h>