From a4d252c6862a0e11c255b749656f9954b8990794 Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Fri, 11 Nov 2022 19:19:25 -0500 Subject: [PATCH] whoops; --- dvm-watchdog.sh | 17 +++++++++++++++++ start-dvm.sh | 17 +++++++++++++++++ stop-dvm.sh | 17 +++++++++++++++++ stop-watchdog.sh | 17 +++++++++++++++++ 4 files changed, 68 insertions(+) diff --git a/dvm-watchdog.sh b/dvm-watchdog.sh index e1505cf3..afcb9950 100644 --- a/dvm-watchdog.sh +++ b/dvm-watchdog.sh @@ -7,6 +7,23 @@ #* @package DVM / Host Software #* #*/ +#/* +#* Copyright (C) 2022 by Bryan Biedenkapp N2PLL +#* +#* 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, write to the Free Software +#* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +#*/ R_PATH=/opt/dvm pushd ${R_PATH} >/dev/null diff --git a/start-dvm.sh b/start-dvm.sh index cbc80da2..7452067c 100644 --- a/start-dvm.sh +++ b/start-dvm.sh @@ -7,6 +7,23 @@ #* @package DVM / Host Software #* #*/ +#/* +#* Copyright (C) 2022 by Bryan Biedenkapp N2PLL +#* +#* 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, write to the Free Software +#* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +#*/ R_PATH=/opt/dvm pushd ${R_PATH} >/dev/null diff --git a/stop-dvm.sh b/stop-dvm.sh index 36fc208c..94aec395 100644 --- a/stop-dvm.sh +++ b/stop-dvm.sh @@ -7,6 +7,23 @@ #* @package DVM / Host Software #* #*/ +#/* +#* Copyright (C) 2022 by Bryan Biedenkapp N2PLL +#* +#* 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, write to the Free Software +#* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +#*/ PID=`pgrep dvmhost` pgrep dvmhost >/dev/null if [ $? -eq 0 ]; then diff --git a/stop-watchdog.sh b/stop-watchdog.sh index 4864d555..c4dc495d 100644 --- a/stop-watchdog.sh +++ b/stop-watchdog.sh @@ -7,6 +7,23 @@ #* @package DVM / Host Software #* #*/ +#/* +#* Copyright (C) 2022 by Bryan Biedenkapp N2PLL +#* +#* 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, write to the Free Software +#* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +#*/ PID=`pgrep dvm-watchdog.sh` pgrep dvm-watchdog.sh >/dev/null if [ $? -eq 0 ]; then