[package] block-mount: fsck.sh should only call pi_include() if dir /lib/functions...
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>
Wed, 6 Apr 2011 20:50:06 +0000 (20:50 +0000)
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>
Wed, 6 Apr 2011 20:50:06 +0000 (20:50 +0000)
commit0cca31915df8466a70b63ddc291d99ab104c9b5e
treee905765fc796a2792ae71a1b8f254bcbcb65fc1d
parentb95b906cb3fc757e83323fddb8c602696a9d2f19
[package] block-mount: fsck.sh should only call pi_include() if dir /lib/functions/fsck exists.

/etc/functions.sh:pi_include() checks if the argument exists and prints
a warning if not. To prevent this warning if package block-mount is installed
but not package e2fsprogs, the script should check if this directory exists
before calling pi_include()

A wrong patch to suppress this warning was previously posted
with subject:
[PATCH] Fix typo in name of to be included file

Signed-off-by: Mark Vels <mark.vels@team-embedded.nl>
SVN-Revision: 26503
package/block-mount/files/fsck.sh