]> git.pld-linux.org Git - packages/nfs-utils.git/blobdiff - rpcidmapd.init
- proper use of shell variables and wildcards
[packages/nfs-utils.git] / rpcidmapd.init
index 94e868000a0f1f572a54fc261fd1f7bc493f957c..4860550c41d3ca0585a47566adde17c8c6c9e4ee 100644 (file)
@@ -43,7 +43,7 @@ start() {
        if [ ! -f /var/lock/subsys/idmapd ]; then
                # This is whacko, but we need /proc/fs/nfsd mounted before
                # starting idmapd on NFS server
-               if [ -e "$RUNLEVELDIR/S*nfs" ]; then
+               if [ -e "$RUNLEVELDIR"/S*nfs ]; then
                        if ! grep -q nfsd /proc/mounts ; then
                                modprobe -s nfsd > /dev/null 2>&1
                                run_cmd "Mounting /proc/fs/nfsd filesystem" mount -t nfsd nfsd /proc/fs/nfsd
This page took 0.342453 seconds and 4 git commands to generate.