From a507a815061ea66190d83392fff1b0516751b48c 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 | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/srcpkgs/sv-netmount/files/netmount/run b/srcpkgs/sv-netmount/files/netmount/run index 6214befa9c8..9b0f4d72f9b 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" > /dev/null 2>&1 || 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 -short_desc="Service to mount/umount network filesystems from fstab" -homepage="http://www.voidlinux.org/" -maintainer="Olivier Mauras " -license="GPL-2" +revision=3 build_style="meta" +short_desc="Service to mount/umount network filesystems from fstab" +maintainer="Olivier Mauras " +license="GPL-2.0-or-later" +homepage="http://www.voidlinux.org/" depends="runit"