From b8fb18066c2392e34d7f500dc52c22de38c8a2a1 Mon Sep 17 00:00:00 2001 From: Frankenstone Date: Sun, 7 Apr 2019 23:45:36 +0200 Subject: [PATCH] hdd-menu: use mdev Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/04fa62bb735deb3d720af7b27bc4b8f83aadab80 Author: Frankenstone Date: 2019-04-07 (Sun, 07 Apr 2019) Origin message was: ------------------ - hdd-menu: use mdev --- src/gui/hdd_menu.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gui/hdd_menu.cpp b/src/gui/hdd_menu.cpp index bd3b6b2f1..4b2587dda 100644 --- a/src/gui/hdd_menu.cpp +++ b/src/gui/hdd_menu.cpp @@ -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