fstools: remove bogus warning in the fstab script
authorJohn Crispin <john@phrozen.org>
Sun, 12 Jun 2016 01:10:28 +0000 (03:10 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 13 Jun 2016 20:51:43 +0000 (22:51 +0200)
commitfd7e15d493166eeed15153caa864a9cc59e3a51a
tree1ef49696dfa15944dcbc4f759a9c04f9c1f25746
parent4260d11e8b47a8a7aac0927abe2c9e89931b4467
fstools: remove bogus warning in the fstab script

/etc/init.d/fstab had some warnings in it to let users know that they
should call "block mount" directly. these ended up in the bootlog.
fix this by splitting the code into boot() and start(). this way the system
will boot without warning but manually starting the script will lead to the
message.

fixes FS#3

Reported-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: John Crispin <john@phrozen.org>
package/system/fstools/files/fstab.init