From: Neil Brown Date: Mon, 19 Mar 2007 22:50:33 +0000 (+1100) Subject: Prevent sm-notify from being run multiple times per reboot. X-Git-Tag: nfs-utils-1-1-0-rc1~38 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=08ed16cab8a460ea56df19b7e27fd663cc96316d;hp=08ed16cab8a460ea56df19b7e27fd663cc96316d Prevent sm-notify from being run multiple times per reboot. As "mount.nfs" can start statd, and as statd can start sm-notify, the risk of sm-notify being run multiple times increases. As this is not normally appropriate, sm-notify now creates a file in /var/run which will stop future instances from being run (though ofcourse this behaviour can be controlled by a new command line option). ---