summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/service_harddrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-07-09 13:23:49 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-07-09 13:23:49 +0000
commit15052c100e148a94553ee155d7384b67e6537675 (patch)
tree118d6e5702d061645cd0c25c9bedca6740e3a551 /perl-install/standalone/service_harddrake
parenta6a904a31e39b74144c53f0cc4086d496b70c09a (diff)
downloaddrakx-backup-do-not-use-15052c100e148a94553ee155d7384b67e6537675.tar
drakx-backup-do-not-use-15052c100e148a94553ee155d7384b67e6537675.tar.gz
drakx-backup-do-not-use-15052c100e148a94553ee155d7384b67e6537675.tar.bz2
drakx-backup-do-not-use-15052c100e148a94553ee155d7384b67e6537675.tar.xz
drakx-backup-do-not-use-15052c100e148a94553ee155d7384b67e6537675.zip
fix boot freeze on hw change: initscript was running us with stdout
redirected to /dev/null; just use a small sh wrapper to fix it
Diffstat (limited to 'perl-install/standalone/service_harddrake')
-rwxr-xr-xperl-install/standalone/service_harddrake14
1 files changed, 1 insertions, 13 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index 56fbfdbb5..09f86ad7c 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -1,23 +1,11 @@
#!/usr/bin/perl -w
# harddrake2 This service runs the HardDrake hardware probe.
-#
-# chkconfig: 345 05 95
-# description: This runs the hardware probe, and optionally configures \
-# changed hardware.
-
-
-# TODO: start/stop/status/
use lib qw(/usr/lib/libDrakX);
-use strict;
+#use strict;
use standalone; #- warning, standalone must be loaded very first, for 'explanations'
-if ($ARGV[0] !~ /^start$/) {
- print "service harddrake [start|stop]\n";
- exit 0;
-}
-
use MDK::Common;
use POSIX;