From 127d4022172f21369b16d3b0ddb18083f0c58f3c Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 11 Sep 2007 22:55:08 +0000 Subject: de-bashify the init script (Portage version: 2.1.3.9) --- net-fs/samba/ChangeLog | 5 ++++- net-fs/samba/files/samba-init | 6 ++---- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'net-fs') diff --git a/net-fs/samba/ChangeLog b/net-fs/samba/ChangeLog index 48125aeef476..f198ecb72626 100644 --- a/net-fs/samba/ChangeLog +++ b/net-fs/samba/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-fs/samba # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.302 2007/09/11 19:50:49 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.303 2007/09/11 22:55:07 uberlord Exp $ + + 11 Sep 2007; Roy Marples files/samba-init: + de-bashify the init script *samba-3.0.25c-r2 (11 Sep 2007) diff --git a/net-fs/samba/files/samba-init b/net-fs/samba/files/samba-init index 1793f09fcc8b..bdefea63ecc6 100644 --- a/net-fs/samba/files/samba-init +++ b/net-fs/samba/files/samba-init @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/samba-init,v 1.16 2007/09/08 12:05:54 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/samba-init,v 1.17 2007/09/11 22:55:08 uberlord Exp $ opts="reload" @@ -12,9 +12,7 @@ depend() { } DAEMONNAME="${SVCNAME##samba.}" -if [[ ${DAEMONNAME} != "samba" ]] ; then - daemon_list=${DAEMONNAME} -fi +[ "${DAEMONNAME}" != "samba" ] && daemon_list=${DAEMONNAME} signal_do() { local signal="$1" -- cgit v1.2.3-65-gdbad