diff options
| author | Lennart Poettering <lennart@poettering.net> | 2005-08-08 10:23:59 +0000 | 
|---|---|---|
| committer | Lennart Poettering <lennart@poettering.net> | 2005-08-08 10:23:59 +0000 | 
| commit | eda741119700f70ddb8c960abf12b9869197145d (patch) | |
| tree | 536d2e1a24e85ba40cf2c80dbbdf03596a997f7f | |
| parent | c640b156cf09eaa29d6b11b99c59c768d2131781 (diff) | |
update init scripts
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@268 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
| -rwxr-xr-x | initscript/Debian/avahi-daemon.in | 24 | ||||
| -rwxr-xr-x | initscript/Debian/avahi-dnsconfd.in | 32 | 
2 files changed, 48 insertions, 8 deletions
diff --git a/initscript/Debian/avahi-daemon.in b/initscript/Debian/avahi-daemon.in index 26242b4..b11d4d4 100755 --- a/initscript/Debian/avahi-daemon.in +++ b/initscript/Debian/avahi-daemon.in @@ -1,4 +1,24 @@ -#! /bin/sh +#!/bin/sh + +# $Id$ + +# This file is part of avahi. +# +# avahi is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# avahi 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 Lesser General Public +# License along with avahi; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# USA. +  #  # avahi     avahi daemon  #                               Daemon for ZeroConf @@ -102,7 +122,7 @@ case "$1" in          ;;      reload)          log_begin_msg "Reloading services for $DESC: $NAME" -	d_reload +        d_reload          log_end_msg $?          ;;      restart|force-reload) diff --git a/initscript/Debian/avahi-dnsconfd.in b/initscript/Debian/avahi-dnsconfd.in index eb67a91..024d422 100755 --- a/initscript/Debian/avahi-dnsconfd.in +++ b/initscript/Debian/avahi-dnsconfd.in @@ -1,4 +1,24 @@ -#! /bin/sh +#!/bin/sh + +# $Id$ + +# This file is part of avahi. +# +# avahi is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# avahi 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 Lesser General Public +# License along with avahi; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# USA. +  #  # avahi-dnsconfd     avahi dns configuration daemon  #                               Daemon for ZeroConf @@ -84,7 +104,7 @@ d_stop() {  #  #       Function that reload the config file for the daemon/service.  # -d_reload() { +d_refresh() {      $DAEMON -r  } @@ -100,12 +120,12 @@ case "$1" in          d_stop          log_end_msg $?          ;; -    reload) -        log_begin_msg "Reloading config file for $DESC: $NAME" -	d_reload +    refresh) +        log_begin_msg "Refreshing $DESC: $NAME" +        d_refresh          log_end_msg $?          ;; -    restart|force-reload) +    reload|restart|force-reload)          log_begin_msg "Restarting $DESC: $NAME"          d_stop          sleep 1  | 
