]> git.pld-linux.org Git - projects/rc-scripts.git/blobdiff - rc.d/init.d/single
- merge from TOTALNEW branch (see NEWS for more info)
[projects/rc-scripts.git] / rc.d / init.d / single
index b6efc3f2a1965bde44a3881f8947c6fc96bf3bef..a677a32e16857f0cfd4b816fc06ba8ba00e03181 100644 (file)
@@ -1,6 +1,6 @@
 #!/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 \
@@ -9,10 +9,10 @@
 #              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
@@ -41,7 +41,7 @@ case "$1" in
 
 # 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...
This page took 0.062901 seconds and 4 git commands to generate.