Commit a9956f0f authored by Phil's avatar Phil
Browse files

cdemu-daemon: fix stop in rc

parent 0755d8d8
......@@ -24,7 +24,7 @@ source=(http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.gz
60-vhba.rules)
md5sums=('f7ccc0abc33057d552ec7b0925fce63a'
'd852e04d4e95f7452382811b0e83944a'
'8e776b78ef829f344a18c9847bf19856'
'29b9bc0023ff17e14091f3fb8438ccb4'
'f551504552d7693ac79e8e0d302f62b9')
build() {
......
......@@ -38,7 +38,7 @@ case "$1" in
;;
stop)
stat_busy "Stopping cdemud"
cdemud -k &>/dev/null
kill -9 `pidof cdemud` &>/dev/null && sleep 1 && rmmod vhba
if [ $? -ne 0 ]; then
stat_fail
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment