From de95bf61e37ae367096ba18a74cab20417ccad38 Mon Sep 17 00:00:00 2001 From: Emanuel Birge Date: Fri, 31 Jul 2020 09:04:21 +0200 Subject: [PATCH] sv-netmount: redirect stdout when checking $NETWORK_MANAGER status --- srcpkgs/sv-netmount/files/netmount/run | 2 +- srcpkgs/sv-netmount/template | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/srcpkgs/sv-netmount/files/netmount/run b/srcpkgs/sv-netmount/files/netmount/run index 6214befa9c8..f00da44b28e 100755 --- a/srcpkgs/sv-netmount/files/netmount/run +++ b/srcpkgs/sv-netmount/files/netmount/run @@ -3,7 +3,7 @@ [ -r conf ] && . ./conf # Ensure the network manager is running -[ -z "$NETWORK_MANAGER" ] || sv check "$NETWORK_MANAGER" 2> /dev/null || exit 1 +[ -z "$NETWORK_MANAGER" ] || sv check "$NETWORK_MANAGER" 2>&1 /dev/null || exit 1 # If it's running or not in used - rc.local - discover default gateway if [ -z "$GATEWAY" ]; then diff --git a/srcpkgs/sv-netmount/template b/srcpkgs/sv-netmount/template index 3ee020cf237..126157fe70d 100644 --- a/srcpkgs/sv-netmount/template +++ b/srcpkgs/sv-netmount/template @@ -1,12 +1,12 @@ # Template file for 'sv-netmount' pkgname=sv-netmount version=0.1 -revision=2 +revision=3 +build_style="meta" short_desc="Service to mount/umount network filesystems from fstab" -homepage="http://www.voidlinux.org/" maintainer="Olivier Mauras " -license="GPL-2" -build_style="meta" +license="GPL-2.0-or-later" +homepage="http://www.voidlinux.org/" depends="runit"