Fix license headers

parent 8e84257a
#!/bin/bash #!/bin/bash
########################################################################### ###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@unixmedia.it> # Copyright (c) 2018- Franco (nextime) Lanza <franco@nexlab.it>
# #
# Penguidom System Controller Daemon "penguidomd" # Penguidom System client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
# #
# This file is part of penguidomd. # This file is part of penguidom.
# #
# penguidomd is free software: you can redistribute it and/or modify # penguidom is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version. # (at your option) any later version.
......
#!/bin/bash #!/bin/bash
########################################################################### ###########################################################################
# Copyright (c) 2011-2014 Unixmedia S.r.l. <info@unixmedia.it> # Copyright (c) 2018- Franco (nextime) Lanza <franco@nexlab.it>
# Copyright (c) 2011-2014 Franco (nextime) Lanza <franco@unixmedia.it>
# #
# Domotika System Controller Daemon "domotikad" [http://trac.unixmedia.it] # Penguidom System client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
# #
# This file is part of domotikad. # This file is part of penguidom.
# #
# domotikad is free software: you can redistribute it and/or modify # penguidom is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version. # (at your option) any later version.
...@@ -23,16 +22,16 @@ ...@@ -23,16 +22,16 @@
############################################################################## ##############################################################################
### BEGIN INIT INFO ### BEGIN INIT INFO
# Provides: domotikad # Provides: penguidomd
# Required-Start: $syslog $remote_fs mysql # Required-Start: $syslog $remote_fs
# Required-Stop: $syslog $remote_fs # Required-Stop: $syslog $remote_fs
# X-Interactive: yes # X-Interactive: yes
# Should-Start: $network # Should-Start: $network
# Should-Stop: $network # Should-Stop: $network
# Default-Start: 2 3 4 5 # Default-Start: 2 3 4 5
# Default-Stop: 0 1 6 # Default-Stop: 0 1 6
# Short-Description: Start and stop Domotika # Short-Description: Start and stop Penguidomd
# Description: Domotika is an home automation system # Description: Linux client support for Domotika system
### END INIT INFO ### END INIT INFO
#if [ -f /usr/lib/bindhack.so ] ; then #if [ -f /usr/lib/bindhack.so ] ; then
...@@ -40,10 +39,10 @@ ...@@ -40,10 +39,10 @@
# export BIND_SRC=192.168.181.1 # export BIND_SRC=192.168.181.1
#fi #fi
cd /home/domotika cd /home/penguidom
./domotikad $@ ./penguidomd $@
if [ x"$1" = x"stop" ] ; then if [ x"$1" = x"stop" ] ; then
chk=$(pgrep "domotikad") chk=$(pgrep "penguidomd")
if [ x"$chk" != x"" ] ; then if [ x"$chk" != x"" ] ; then
kill -9 $chk >/dev/null 2>&1 kill -9 $chk >/dev/null 2>&1
fi fi
......
###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@nexlab.it>
#
# Penguidom System client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
#
# This file is part of penguidom.
#
# penguidom 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 <http://www.gnu.org/licenses/>.
#
##############################################################################
########################################################################### ###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@unixmedia.it> # Copyright (c) 2018- Franco (nextime) Lanza <franco@nexlab.it>
# #
# Penguidom System Controller Daemon "penguidomd" # Penguidom System client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
# #
# This file is part of penguidomd. # This file is part of penguidom.
# #
# penguidomd is free software: you can redistribute it and/or modify # penguidom is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version. # (at your option) any later version.
......
########################################################################### ###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@unixmedia.it> # Copyright (c) 2018- Franco (nextime) Lanza <franco@nexlab.it>
# #
# Penguidom System Controller Daemon "penguidomd" # Penguidom System client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
# #
# This file is part of penguidomd. # This file is part of penguidom.
# #
# penguidomd is free software: you can redistribute it and/or modify # penguidom is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version. # (at your option) any later version.
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
############################################################################## ##############################################################################
from zope.interface import Interface, Attribute from zope.interface import Interface, Attribute
from zope.interface import implements from zope.interface import implements
from twisted.python import reflect from twisted.python import reflect
......
########################################################################### ###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@unixmedia.it> # Copyright (c) 2018- Franco (nextime) Lanza <franco@nexlab.it>
# #
# Penguidom System Controller Daemon "penguidomd" # Penguidom System client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
# #
# This file is part of penguidomd. # This file is part of penguidom.
# #
# penguidomd is free software: you can redistribute it and/or modify # penguidom is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version. # (at your option) any later version.
......
###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@nexlab.it>
#
# Penguidom System client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
#
# This file is part of penguidom.
#
# penguidom 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 <http://www.gnu.org/licenses/>.
#
##############################################################################
import logging import logging
import os, sys import os, sys
import imodules, plugins import imodules, plugins
......
########################################################################### ###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@unixmedia.it> # Copyright (c) 2018- Franco (nextime) Lanza <franco@nexlab.it>
# #
# Penguidom System Controller Daemon "penguidomd" # Penguidom System client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
# #
# This file is part of penguidomd. # This file is part of penguidom.
# #
# penguidomd is free software: you can redistribute it and/or modify # penguidom is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version. # (at your option) any later version.
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
############################################################################## ##############################################################################
# This is a twisted plugin directory # This is a twisted plugin directory
try: try:
from twisted.plugin import pluginPackagePaths from twisted.plugin import pluginPackagePaths
......
###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@nexlab.it>
#
# Penguidom System client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
#
# This file is part of penguidom.
#
# penguidom 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 <http://www.gnu.org/licenses/>.
#
##############################################################################
from paradox import Paradox from paradox import Paradox
plugin=Paradox() plugin=Paradox()
###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@nexlab.it>
#
# Penguidom System client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
#
# This file is part of penguidom.
#
# penguidom 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 <http://www.gnu.org/licenses/>.
#
##############################################################################
from penguidom import imodules from penguidom import imodules
from zope.interface import implements from zope.interface import implements
from twisted.plugin import IPlugin from twisted.plugin import IPlugin
......
########################################################################### ###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@unixmedia.it> # Copyright (c) 2018- Franco (nextime) Lanza <franco@nexlab.it>
# #
# Penguidom System Controller Daemon "penguidomd" # Penguidom System client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
# #
# This file is part of penguidomd. # This file is part of penguidom.
# #
# penguidomd is free software: you can redistribute it and/or modify # penguidom is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version. # (at your option) any later version.
......
#!/usr/bin/env python #!/usr/bin/env python
########################################################################### ###########################################################################
# Copyright (c) 2018- Franco (nextime) Lanza <franco@unixmedia.it> # Copyright (c) 2018- Franco (nextime) Lanza <franco@nexlab.it>
# #
# Penguidom System Controller Daemon "penguidomd" # Penguidom System client Daemon "penguidomd" [https://git.nexlab.net/domotika/Penguidom]
# #
# This file is part of penguidomd. # This file is part of penguidom.
# #
# penguidomd is free software: you can redistribute it and/or modify # penguidom is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version. # (at your option) any later version.
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
# #
############################################################################## ##############################################################################
from twisted.internet import epollreactor from twisted.internet import epollreactor
epollreactor.install() epollreactor.install()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment