Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalwareutils.git;a=commitdiff;h=a01b401aef869379a318cb71befb556dba8e1f06
commit a01b401aef869379a318cb71befb556dba8e1f06 Author: James Buren <[email protected]> Date: Fri Apr 6 00:44:52 2012 -0500 netconfig: fix logic in sleep file to work only if service is enabled in systemd diff --git a/netconfig/netconfig.sleep b/netconfig/netconfig.sleep index 5432135..99a49ab 100644 --- a/netconfig/netconfig.sleep +++ b/netconfig/netconfig.sleep @@ -2,8 +2,8 @@ . "${PM_FUNCTIONS}" -# No point in proceeding if netconfig is not active. -if ! systemctl is-active netconfig.service &> /dev/null; then +# No point in proceeding if netconfig is not enabled. +if ! systemctl is-enabled netconfig.service &> /dev/null; then exit $NA fi _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
