From c536524d2833aead844a0a87ee89ef5c319baf29 Mon Sep 17 00:00:00 2001 From: freesource Date: Mon, 3 Dec 2001 05:43:33 +0000 Subject: [PATCH] The newest rc*, works nice. --- yard/replacements/etc/init.d/rc.example | 18 +----------------- yard/replacements/etc/init.d/rcS.example | 16 +++++++++------- 2 files changed, 10 insertions(+), 24 deletions(-) diff --git a/yard/replacements/etc/init.d/rc.example b/yard/replacements/etc/init.d/rc.example index 8f1d0c0..06f96f9 100755 --- a/yard/replacements/etc/init.d/rc.example +++ b/yard/replacements/etc/init.d/rc.example @@ -1,25 +1,9 @@ #!/bin/sh # -# $Id$ +# $Id: rc.example,v 1.1 2001/12/01 21:42:26 freesource Exp $ # Used by the Example.yard template. # /etc/rc: System initialization script. -# - -# Compute module dependencies -/sbin/depmod -a - -# Start up kerneld if desired -#/sbin/kerneld -# Mount everything mentioned in fstab -# .. but proc needs to be mounted first, anyways. -/bin/mount -anv -mount -v -o remount,rw -n /dev/ram0 / -# Set host name -/bin/hostname bootroot -# If you need to load a keyboard map, uncomment this line and -# fix the pathnames: -#/usr/sbin/loadkeys /usr/lib/kbd/keytables/defkeymap.map diff --git a/yard/replacements/etc/init.d/rcS.example b/yard/replacements/etc/init.d/rcS.example index b5df0a3..d7d8b87 100755 --- a/yard/replacements/etc/init.d/rcS.example +++ b/yard/replacements/etc/init.d/rcS.example @@ -1,8 +1,8 @@ #!/bin/sh # -# $Id$ +# $Id: rcS.example,v 1.1 2001/12/01 21:42:26 freesource Exp $ # Used by the Example.yard template. -# /etc/rc: System initialization script. +# /etc/rcS: System initialization script. # # Compute module dependencies @@ -13,15 +13,17 @@ # Mount everything mentioned in fstab # .. but proc needs to be mounted first, anyways. -/bin/mount -anv -mount -v -o remount,rw -n /dev/ram0 / +#/bin/mount -anv +#mount -v -n -o remount,rw / +mount -o remount / +mount -a # Set host name /bin/hostname bootroot # If you need to load a keyboard map, uncomment this line and # fix the pathnames: -#/usr/sbin/loadkeys /usr/lib/kbd/keytables/defkeymap.map +#/usr/sbin/loadkeys /usr/share/keymaps/i386/qwerty/defkeymap.kmap.gz # create utmp if it doesn't already exist ( cd /var/run && \ @@ -35,8 +37,8 @@ then fi # create wtmp if it doesn't already exist -( cd /var/run && \ - find . ! -type d ! -name utmp ! -name innd.pid ! -name random-seed \ +( cd /var/log && \ + find . ! -type d ! -name wtmp \ ! -newer /etc/mtab -exec rm -f -- {} \; ) : > /var/log/wtmp if grep -q ^utmp: /etc/group