[X2Go-Commits] [live-build-x2go] 14/108: nudging the automounter isn't necessary, and actually doesn't work here (udevd most likely isn't running yet)

git-admin at x2go.org git-admin at x2go.org
Wed Mar 20 22:13:06 CET 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/openbox
in repository live-build-x2go.

commit ab0e03d9da41680f2309e638c38c5f90933689ec
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Tue Feb 6 10:45:37 2018 +0100

    nudging the automounter isn't necessary, and actually doesn't work here (udevd most likely isn't running yet)
---
 .../includes.chroot/lib/live/config/2260-getsshhostkeysfrommedia   | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/config/includes.chroot/lib/live/config/2260-getsshhostkeysfrommedia b/config/includes.chroot/lib/live/config/2260-getsshhostkeysfrommedia
index 8f2add2..965bdad 100755
--- a/config/includes.chroot/lib/live/config/2260-getsshhostkeysfrommedia
+++ b/config/includes.chroot/lib/live/config/2260-getsshhostkeysfrommedia
@@ -12,13 +12,6 @@ GetSSHHostKeysFromMedia ()
 			sleep 2
 		done
 
-		# nudge automounter, in case device was already plugged in at power-up
-		if udevadm trigger --action=add ; then
-			echo -n "\n$(date +'%F | %T | ')'$0' Successfully nudged udev-automounter." | tee -a /dev/tty8
-		else
-			echo -n "\n$(date +'%F | %T | ')'$0' Error while nudging udev-automounter." | tee -a /dev/tty8
-		fi
-
 		# list devices (and mountpoints, if present)
 		LABELMPLIST=$(lsblk -oLABEL,NAME,MOUNTPOINT -l)
 

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git


More information about the x2go-commits mailing list