From owner-freebsd-questions@FreeBSD.ORG Fri May 8 16:34:03 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 514CC311 for ; Fri, 8 May 2015 16:34:03 +0000 (UTC) Received: from mail-pd0-x22f.google.com (mail-pd0-x22f.google.com [IPv6:2607:f8b0:400e:c02::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 217CB1F8D for ; Fri, 8 May 2015 16:34:03 +0000 (UTC) Received: by pdbqa5 with SMTP id qa5so87843483pdb.1 for ; Fri, 08 May 2015 09:34:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; bh=sLc6vhK5qYRvldo5I8O6pzNAeWsgOhnLtoAVaPRW8mM=; b=vB2sh1sLmGf6xREyglugjK3ZUYlts+e1PL3vod47ruN9K19U9giApZ40dqhJIZeQvl hcgGUpEn4MO/bbyF/00kYROAxz3R8wzyGldRBmXKpVvwfHz2viPEL02tz+9P1Qo44AdZ 8gMunySfmeRd79jOyQ1q1eiA77/41xguGxWL0mnk/QtSR/UhUaYQgrjw+6rzPJmKzygC 6moi9J4wP10TqTDAG1u8FkRCblMJ9xUSs+iEscpnAXRr1d6tbXhIcDlfNL2HiXcU9SVe 0p2yuK/ai6/Xa7EtODICHcTEK5BFUQH+1tB8eAz1HtFWfB9HHyK6AbaaarQhNf0A+kcq algw== X-Received: by 10.66.221.193 with SMTP id qg1mr7714611pac.134.1431102779430; Fri, 08 May 2015 09:32:59 -0700 (PDT) Received: from [192.168.125.221] (aswan.sscsinc.com. [199.96.38.41]) by mx.google.com with ESMTPSA id nq2sm5673887pdb.70.2015.05.08.09.32.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 May 2015 09:32:58 -0700 (PDT) Message-ID: <554CE53B.8060706@gmail.com> Date: Fri, 08 May 2015 09:32:59 -0700 From: Motty Cruz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org CC: Motty Cruz Subject: help! devd.conf on FreeBSD 10.1 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2015 16:34:03 -0000 Hello, I have rome the web to acomplish the following in FreeBSD 10.1 using devd.conf this block of code is how it was done in FreeBSD 9.1 ##### Check status of CARP interface notify 0 { match "system" "IFNET"; match "type" "LINK_UP"; match "subsystem" "carp*"; action "/usr/local/scripts/startfssbee.pl mypassword"; }; I would like to do similar operation in FreeBSD 10.1 ##### Check status of CARP interface ######## notify 0 { match "system" "CARP"; match "subsystem" "[0-9]+@[0-9a-z]+"; match "type" "(MASTER)"; action "/usr/local/scripts/startfsslarry.pl mypassword"; }; The script does run but it does not take mypassword as on argument. Thanks, Motty