summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-09-11 22:55:08 +0000
committerRoy Marples <uberlord@gentoo.org>2007-09-11 22:55:08 +0000
commit127d4022172f21369b16d3b0ddb18083f0c58f3c (patch)
treea7e9aad11988a8a8310ac70419e27dd0f46d3764 /net-fs
parentversion bump thanks to Vladimir <civil.over@gmail.com> in bug 192162 (diff)
downloadgentoo-2-127d4022172f21369b16d3b0ddb18083f0c58f3c.tar.gz
gentoo-2-127d4022172f21369b16d3b0ddb18083f0c58f3c.tar.bz2
gentoo-2-127d4022172f21369b16d3b0ddb18083f0c58f3c.zip
de-bashify the init script
(Portage version: 2.1.3.9)
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/samba/ChangeLog5
-rw-r--r--net-fs/samba/files/samba-init6
2 files changed, 6 insertions, 5 deletions
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 <uberlord@gentoo.org> 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"