mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +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 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
|
||||
|
Reference in New Issue
Block a user