Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Apr 2016 18:36:05 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        "Brandon J. Wandersee" <brandon.wandersee@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Simple devd.conf rule has no effect
Message-ID:  <alpine.BSF.2.20.1604191833030.59174@wonkity.com>
In-Reply-To: <alpine.BSF.2.20.1604191810540.59174@wonkity.com>
References:  <86fuuywldn.fsf@WorkBox.Home> <alpine.BSF.2.20.1604061523060.39687@wonkity.com> <86bn552vga.fsf@WorkBox.Home> <alpine.BSF.2.20.1604191810540.59174@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quick followup with an improvement:

   notify 20 {
  	match "system"    "ACPI";
  	match "subsystem" "Lid";
  	match "notify"    "0x00";
  	action "/usr/bin/su wblock -c '/usr/local/bin/xlock -display :0.0 -mode qix &'"'
  	action "acpiconf -s3";
   };

It was backgrounding xlock that was important, not a delay after it 
started.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1604191833030.59174>