hdd-menu: use mdev

Origin commit data
------------------
Commit: 04fa62bb73
Author: Frankenstone <dampf_acc@online.de>
Date: 2019-04-07 (Sun, 07 Apr 2019)

Origin message was:
------------------
- hdd-menu: use mdev
This commit is contained in:
Frankenstone
2019-04-07 23:45:36 +02:00
committed by vanhofen
parent 42a4d80c83
commit b8fb18066c

View File

@@ -65,7 +65,6 @@
#define BLKID_BIN "/sbin/blkid"
#define EJECT_BIN "/bin/eject"
//NI
#define MDEV_MOUNT "/lib/mdev/fs/mdev-mount"
#define MOUNT_BASE "/media/"
@@ -1230,7 +1229,7 @@ _remount:
#ifndef ASSUME_MDEV
f = fopen("/proc/sys/kernel/hotplug", "w");
if(f) {
fprintf(f, "/sbin/hotplug\n");
fprintf(f, "/sbin/mdev\n");
fclose(f);
}
#endif