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>
This commit is contained in:
parent
4260d11e8b
commit
fd7e15d493
1 changed files with 6 additions and 4 deletions
|
@ -3,12 +3,14 @@
|
|||
|
||||
START=40
|
||||
|
||||
start() {
|
||||
echo "this file has been obsoleted. please call \"/sbin/block mount\" directly"
|
||||
boot() {
|
||||
/sbin/block mount
|
||||
}
|
||||
|
||||
start() {
|
||||
echo "this file has been obsoleted. please call \"/sbin/block mount\" directly"
|
||||
}
|
||||
|
||||
stop() {
|
||||
echo "this file has been obsoleted. please call \"/sbin/block umount\" directly"
|
||||
/sbin/block umount
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue