summaryrefslogtreecommitdiffstats
path: root/move
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-28 14:19:33 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-28 14:19:33 +0000
commitf3cc3fc37d906a8cde15baa3a3db79c601026281 (patch)
tree72dad38d69e83b8c894dc4b5eb53a63f675bb006 /move
parent183a94ac310cd29c0738945da45c9c10806317ef (diff)
downloaddrakx-f3cc3fc37d906a8cde15baa3a3db79c601026281.tar
drakx-f3cc3fc37d906a8cde15baa3a3db79c601026281.tar.gz
drakx-f3cc3fc37d906a8cde15baa3a3db79c601026281.tar.bz2
drakx-f3cc3fc37d906a8cde15baa3a3db79c601026281.tar.xz
drakx-f3cc3fc37d906a8cde15baa3a3db79c601026281.zip
disable key when nvidia clp is not here and we're not in nfs
Diffstat (limited to 'move')
-rw-r--r--move/move.pm2
1 files changed, 1 insertions, 1 deletions
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"');