diff options
Diffstat (limited to 'setup-devd.in')
-rw-r--r-- | setup-devd.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/setup-devd.in b/setup-devd.in index 7225463..da42a49 100644 --- a/setup-devd.in +++ b/setup-devd.in @@ -29,7 +29,9 @@ EOF disable_mdev () { if rc-service --exists mdev ; then + rc-service --ifstarted --quiet hwdrivers stop rc-service --ifstarted --quiet mdev stop + rc-update delete --quiet hwdriver sysinit || : rc-update delete --quiet mdev sysinit || : fi } @@ -38,7 +40,9 @@ enable_mdev () { # mdev openrc script is provided by busybox-initscripts which is assumed # to be there rc-update add --quiet mdev sysinit + rc-update add --quiet hwdrivers sysinit rc-service mdev --ifstopped start + rc-service hwdrivers --ifstopped start } disable_mdevd () { |