Unconditionally create the state directory in case it has been changed at runtime
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 13 Oct 2010 00:06:30 +0000 (11:06 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 13 Oct 2010 00:06:30 +0000 (11:06 +1100)
CQS1019937

config/events.d/61.nfstickle

index 98023583e37fc8b73586ebcb85897853ff13ed14..b5a1bee01f942d476493c875cc790e3ea24e9913 100755 (executable)
@@ -40,6 +40,7 @@ case "$1" in
 
      monitor)
        mydir=$NFS_TICKLE_SHARED_DIRECTORY/`hostname`
+       mkdir -p $mydir
        rm -f $mydir/*
        # record our connections to shared storage
        netstat -tn |