mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
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:
@@ -65,7 +65,6 @@
|
|||||||
#define BLKID_BIN "/sbin/blkid"
|
#define BLKID_BIN "/sbin/blkid"
|
||||||
#define EJECT_BIN "/bin/eject"
|
#define EJECT_BIN "/bin/eject"
|
||||||
|
|
||||||
//NI
|
|
||||||
#define MDEV_MOUNT "/lib/mdev/fs/mdev-mount"
|
#define MDEV_MOUNT "/lib/mdev/fs/mdev-mount"
|
||||||
#define MOUNT_BASE "/media/"
|
#define MOUNT_BASE "/media/"
|
||||||
|
|
||||||
@@ -1230,7 +1229,7 @@ _remount:
|
|||||||
#ifndef ASSUME_MDEV
|
#ifndef ASSUME_MDEV
|
||||||
f = fopen("/proc/sys/kernel/hotplug", "w");
|
f = fopen("/proc/sys/kernel/hotplug", "w");
|
||||||
if(f) {
|
if(f) {
|
||||||
fprintf(f, "/sbin/hotplug\n");
|
fprintf(f, "/sbin/mdev\n");
|
||||||
fclose(f);
|
fclose(f);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user