diff options
author | Jianchuan Wang <jianchuan.wang@windriver.com> | 2017-08-31 04:57:32 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-08-31 15:00:55 +0200 |
commit | 2d08073f731cb88e759069bd72b46b2d7d4587ae (patch) | |
tree | 4e3c15fa408da7239f718e4a8d7806c62ac4e5bc /meta-filesystems | |
parent | 7cc1044f0ddf98407f6da3bdcf14f3dd0f271bc9 (diff) | |
download | meta-openembedded-contrib-2d08073f731cb88e759069bd72b46b2d7d4587ae.tar.gz |
drbd-utils: only rmmod if DRBD is a module
Account for the case if the DRBD drive is built into
the kernel. Otherwise, errors, like the following,
will occur:
root@localhost:~# /etc/init.d/drbd stop
Stopping all DRBD resources: ERROR: Module drbd does not exist in
/proc/modules
Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-filesystems')
0 files changed, 0 insertions, 0 deletions