summaryrefslogtreecommitdiffstats
path: root/utils/statd/callback.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-03-20 09:50:33 +1100
committerNeil Brown <neilb@suse.de>2007-03-20 09:50:33 +1100
commit08ed16cab8a460ea56df19b7e27fd663cc96316d (patch)
treee496f3d3c7f4473c5fe05abd045c92b382a6fdf8 /utils/statd/callback.c
parenta6970289026e18fcb51f1305df96d868d94dae78 (diff)
downloadnfs-utils-08ed16cab8a460ea56df19b7e27fd663cc96316d.tar.gz
nfs-utils-08ed16cab8a460ea56df19b7e27fd663cc96316d.tar.xz
nfs-utils-08ed16cab8a460ea56df19b7e27fd663cc96316d.zip
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).
Diffstat (limited to 'utils/statd/callback.c')
0 files changed, 0 insertions, 0 deletions