From: Luk Claes Date: Mon, 29 Aug 2011 16:04:25 +0000 (-0400) Subject: start-statd: Use bash as -p is no POSIX X-Git-Tag: nfs-utils-1-2-5-rc2~7 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=708f2d63ee2641f72d3a87ce65f12e83e5ad60be;hp=2850a26b17b37126f70283400c01f7ffa651b860 start-statd: Use bash as -p is no POSIX sh -p is not guaranteed to be provided by POSIX shells. dash for instance does not provide this, so use bash explicitly. Signed-off-by: Luk Claes Signed-off-by: Steve Dickson --- diff --git a/utils/statd/start-statd b/utils/statd/start-statd index c7805ee..1b345a5 100644 --- a/utils/statd/start-statd +++ b/utils/statd/start-statd @@ -1,8 +1,8 @@ -#!/bin/sh -p +#!/bin/bash -p # nfsmount calls this script when mounting a filesystem with locking # enabled, but when statd does not seem to be running (based on # /var/run/rpc.statd.pid). -# It should run run statd with whatever flags are apropriate for this +# It should run statd with whatever flags are apropriate for this # site. PATH=/sbin:/usr/sbin exec rpc.statd --no-notify