diff options
author | Mystery Man <unknown@mandriva.org> | 2002-07-23 11:21:56 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2002-07-23 11:21:56 +0000 |
commit | c085ce28d15d1476cae3fcb6d24d4d5ac1ca3aa7 (patch) | |
tree | 09f4686118e32ec13377577bbbd0f08e8120836c /perl-install/standalone/service_harddrake.sh | |
parent | 127a73d935d78af53d3dadd05d4636f6b717976d (diff) | |
download | drakx-backup-do-not-use-1_1_8_13mdk.tar drakx-backup-do-not-use-1_1_8_13mdk.tar.gz drakx-backup-do-not-use-1_1_8_13mdk.tar.bz2 drakx-backup-do-not-use-1_1_8_13mdk.tar.xz drakx-backup-do-not-use-1_1_8_13mdk.zip |
This commit was manufactured by cvs2svn to create tag 'V1_1_8_13mdk'.V1_1_8_13mdk
Diffstat (limited to 'perl-install/standalone/service_harddrake.sh')
-rw-r--r-- | perl-install/standalone/service_harddrake.sh | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/perl-install/standalone/service_harddrake.sh b/perl-install/standalone/service_harddrake.sh deleted file mode 100644 index 476585b17..000000000 --- a/perl-install/standalone/service_harddrake.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash -# -# harddrake This scripts runs the harddrake hardware probe. -# -# chkconfig: 345 05 95 -# description: This runs the hardware probe, and optionally configures \ -# changed hardware. - -# This is an interactive program, we need the current locale - -[[ -f /etc/profile.d/lang.sh ]] && . /etc/profile.d/lang.sh - -# Source function library. -. /etc/rc.d/init.d/functions - - -SUBSYS=/var/lock/subsys/harddrake - -case "$1" in - start) -# We (mdk) don't support updfstab (yet) -# action "Updating /etc/fstab" /usr/sbin/updfstab - - gprintf "Checking for new hardware" - /usr/share/harddrake/service_harddrake 2>/dev/null - RETVAL=$? - if [ "$RETVAL" -eq 0 ]; then - action "" /bin/true - else - action "" /bin/false - fi - # We don't want to run this on random runlevel changes. - touch $SUBSYS -# [ /etc/modules.conf -nt /lib/modules/$(uname -r)/modules.dep ] && touch /lib/modules/$(uname -r)/modules.dep 2>/dev/null >/dev/null || : & - exit $RETVAL - ;; - status) - if [ -f $SUBSYS ]; then - gprintf "Harddrake service was runned at boot time" - else gprintf "Harddrake service was not runned at boot time" - fi - ;; - reload) - ;; - stop) - # dummy - rm -f $SUBSYS - ;; - *) - gprintf "Usage: %s {start|stop}\n" "$0" - exit 1 - ;; -esac |