diff options
Diffstat (limited to 'cmd/service')
-rw-r--r-- | cmd/service/disable.c | 18 | ||||
-rw-r--r-- | cmd/service/dumpscript.c | 20 | ||||
-rw-r--r-- | cmd/service/enable.c | 18 | ||||
-rw-r--r-- | cmd/service/help.c | 18 | ||||
-rw-r--r-- | cmd/service/list.c | 18 | ||||
-rw-r--r-- | cmd/service/service.8 | 2 | ||||
-rw-r--r-- | cmd/service/servicecmd.c | 18 | ||||
-rw-r--r-- | cmd/service/servicecmd.h | 19 |
8 files changed, 9 insertions, 122 deletions
diff --git a/cmd/service/disable.c b/cmd/service/disable.c index 8a6f9f3..6210a8c 100644 --- a/cmd/service/disable.c +++ b/cmd/service/disable.c @@ -1,20 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ -/* - * Copyright (C) 2018 - David Oberhollenzer - * - * 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 3 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 <https://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: ISC */ #include <sys/types.h> #include <sys/stat.h> #include <stdlib.h> diff --git a/cmd/service/dumpscript.c b/cmd/service/dumpscript.c index eaff509..1822aa9 100644 --- a/cmd/service/dumpscript.c +++ b/cmd/service/dumpscript.c @@ -1,20 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ -/* - * Copyright (C) 2018 - David Oberhollenzer - * - * 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 3 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 <https://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: ISC */ #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> @@ -160,7 +144,7 @@ static int cmd_dumpscript(int argc, char **argv) print_str(ptr); ptr += strlen(ptr) + 1; } - + putchar('\n'); } diff --git a/cmd/service/enable.c b/cmd/service/enable.c index 5d4195e..67cf0aa 100644 --- a/cmd/service/enable.c +++ b/cmd/service/enable.c @@ -1,20 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ -/* - * Copyright (C) 2018 - David Oberhollenzer - * - * 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 3 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 <https://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: ISC */ #include <sys/types.h> #include <sys/stat.h> #include <stdlib.h> diff --git a/cmd/service/help.c b/cmd/service/help.c index 4fa9951..30698d1 100644 --- a/cmd/service/help.c +++ b/cmd/service/help.c @@ -1,20 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ -/* - * Copyright (C) 2018 - David Oberhollenzer - * - * 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 3 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 <https://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: ISC */ #include "servicecmd.h" extern char *__progname; diff --git a/cmd/service/list.c b/cmd/service/list.c index 6ba22f0..23f59fb 100644 --- a/cmd/service/list.c +++ b/cmd/service/list.c @@ -1,20 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ -/* - * Copyright (C) 2018 - David Oberhollenzer - * - * 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 3 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 <https://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: ISC */ #include "servicecmd.h" #include "service.h" #include "config.h" diff --git a/cmd/service/service.8 b/cmd/service/service.8 index 139bdb5..86036a3 100644 --- a/cmd/service/service.8 +++ b/cmd/service/service.8 @@ -43,7 +43,7 @@ This program is part of the Pygos init system. .SH COPYRIGHT Copyright \(co 2018 David Oberhollenzer .br -License: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. +License: ISC <https://www.gnu.org/licenses/license-list.html#ISC>. .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. diff --git a/cmd/service/servicecmd.c b/cmd/service/servicecmd.c index 84e6a32..799a6f1 100644 --- a/cmd/service/servicecmd.c +++ b/cmd/service/servicecmd.c @@ -1,20 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ -/* - * Copyright (C) 2018 - David Oberhollenzer - * - * 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 3 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 <https://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: ISC */ #include <stdlib.h> #include <stdio.h> diff --git a/cmd/service/servicecmd.h b/cmd/service/servicecmd.h index b839799..a8d3b2a 100644 --- a/cmd/service/servicecmd.h +++ b/cmd/service/servicecmd.h @@ -1,20 +1,4 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ -/* - * Copyright (C) 2018 - David Oberhollenzer - * - * 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 3 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 <https://www.gnu.org/licenses/>. - */ +/* SPDX-License-Identifier: ISC */ #ifndef SERVICECMD_H #define SERVICECMD_H @@ -90,4 +74,3 @@ int check_arguments(const char *cmd, int argc, int minc, int maxc); } #endif /* SERVICECMD_H */ - |