#!/bin/sh
#
-# single Script for setting up administrative/rescue shell.
+# single Script for sedding up administrative/rescue shell.
#
# chkconfig: 1 00 00
# description: This file is executed by init when it goes into runlevel \
# Note that the file systems are kept mounted. \
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
-# Modified for PLD Linux by Grzegorz Stanislawski
-# Changes: Arkadiusz Mi¶kiewicz <misiek@pld.org.pl>
+# Changes: Grzegorz Stanislawski <stangrze@open.net.pl>
+# Arkadiusz Mi¶kiewicz <misiek@pld.org.pl>
#
-# $Id: single,v 1.10 2000/11/16 16:01:18 baggins Exp $
+# $Id: single,v 1.11 2001/05/15 16:03:38 baggins Exp $
# Set the path.
PATH=/sbin:/bin:/usr/sbin:/usr/bin
# make sure modprobe is working
if [ -f /proc/sys/kernel/modprobe ]; then
- echo "/sbin/modprobe" > /proc/sys/kernel/modprobe
+ sysctl -w kernel.modprobe="/sbin/modprobe" >/dev/null 2>&1
fi
# If they want to run something in single user mode, might as well run it...