From f3cc3fc37d906a8cde15baa3a3db79c601026281 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Fri, 28 Nov 2003 14:19:33 +0000 Subject: disable key when nvidia clp is not here and we're not in nfs --- move/move.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'move') diff --git a/move/move.pm b/move/move.pm index 3e6c2d00e..83e50a93c 100644 --- a/move/move.pm +++ b/move/move.pm @@ -125,7 +125,7 @@ sub init { -d '/lib/modules/' . c::kernel_version() or warn("ERROR: kernel package " . c::kernel_version() . " not installed\n"), c::_exit(1); - $key_disabled = -e '/image/move/key_disabled'; + $key_disabled = !-e '/cdrom/live_tree_nvidia.clp' && cat_('/proc/mounts') !~ /nfs/; run_program::run('/sbin/service', 'syslog', 'start'); system('sysctl -w kernel.hotplug="/bin/true"'); -- cgit v1.2.1