diff --git a/packages/network/avahi/init.d/24_avahi b/packages/network/avahi/init.d/24_avahi index 720f62f0f4..99bc22635d 100755 --- a/packages/network/avahi/init.d/24_avahi +++ b/packages/network/avahi/init.d/24_avahi @@ -1,3 +1,25 @@ +#!/bin/sh + +################################################################################ +# Copyright (C) 2009-2010 OpenELEC.tv +# http://www.openelec.tv +# +# 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, 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 OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + # start Avahi Daemon # # runlevels: openelec, textmode diff --git a/packages/network/avahi/scripts/udhcp-avahi.script b/packages/network/avahi/scripts/udhcp-avahi.script index 716e9b8fab..2505c70f5f 100755 --- a/packages/network/avahi/scripts/udhcp-avahi.script +++ b/packages/network/avahi/scripts/udhcp-avahi.script @@ -1,6 +1,26 @@ #!/bin/sh -# udhcpc script edited by Tim Riker +################################################################################ +# Copyright (C) 2009-2010 OpenELEC.tv +# http://www.openelec.tv +# +# udhcpc script edited by Tim Riker +# +# 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, 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 OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ [ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1 diff --git a/packages/network/avahi/scripts/udhcp.script b/packages/network/avahi/scripts/udhcp.script index 462ffc5378..234e64a95e 100755 --- a/packages/network/avahi/scripts/udhcp.script +++ b/packages/network/avahi/scripts/udhcp.script @@ -1,5 +1,25 @@ #!/bin/sh +################################################################################ +# Copyright (C) 2009-2010 OpenELEC.tv +# http://www.openelec.tv +# +# 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, 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 OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + case "$1" in deconfig) ifconfig $interface 0.0.0.0