diff options
Diffstat (limited to 'media-video/ushare/files/ushare.init.d.ng')
-rw-r--r-- | media-video/ushare/files/ushare.init.d.ng | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/media-video/ushare/files/ushare.init.d.ng b/media-video/ushare/files/ushare.init.d.ng index 7f9920ab1b38..c0ba00d08d06 100644 --- a/media-video/ushare/files/ushare.init.d.ng +++ b/media-video/ushare/files/ushare.init.d.ng @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/ushare/files/ushare.init.d.ng,v 1.1 2013/08/18 16:41:08 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/ushare/files/ushare.init.d.ng,v 1.2 2014/02/14 21:06:31 hwoarang Exp $ depend() { use net @@ -10,14 +10,14 @@ depend() { start() { ebegin "Starting uShare" - if [[ ! -f /etc/ushare.conf && -f /etc/conf.d/ushare ]]; then + if [ ! -f /etc/ushare.conf -a -f /etc/conf.d/ushare ]; then ewarn "Please migrate your settings from" ewarn "/etc/conf.d/ushare to the new /etc/ushare.conf file" ewarn "and then delete the /etc/conf.d/ushare file." eerror "User migration steps are needed!" fi - if [[ -f /etc/ushare.conf && -f /etc/conf.d/ushare ]]; then + if [ -f /etc/ushare.conf -a -f /etc/conf.d/ushare ]; then ewarn "Old configuration file /etc/conf.d/ushare detected!" ewarn "Please migrate your settings to the new /etc/ushare.conf file" ewarn "and then delete the old one." |