Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalwareutils.git;a=commitdiff;h=b874e503ff6ba62b5cccdc6fe9f71f16634f5d3e
commit b874e503ff6ba62b5cccdc6fe9f71f16634f5d3e Author: James Buren <[email protected]> Date: Tue Apr 10 11:38:38 2012 -0500 do nothing in netconfig udev wrapper if netconfig is not enabled diff --git a/netconfig/netconfig-udev-wrapper b/netconfig/netconfig-udev-wrapper index 918e12f..c02ab68 100644 --- a/netconfig/netconfig-udev-wrapper +++ b/netconfig/netconfig-udev-wrapper @@ -1,5 +1,10 @@ #!/bin/sh +# No point in proceeding if netconfig is not enabled. +if ! systemctl is-enabled netconfig.service &> /dev/null; then + exit 0 +fi + case $1 in stop) /bin/systemctl stop netconfig.service _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
