openap-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[openap-cvs] : openap-main/rootskel/root/etc/init.d mount.sh,NONE,1.1 rc


From: David Kimdon <address@hidden>
Subject: [openap-cvs] : openap-main/rootskel/root/etc/init.d mount.sh,NONE,1.1 rc,NONE,1.1 rcS,NONE,1.1 umount.sh,NONE,1.1
Date: Tue, 06 Aug 2002 15:13:41 -0400

Update of /cvsroot/openap/openap-main/rootskel/root/etc/init.d
In directory subversions:/tmp/cvs-serv5760/etc/init.d

Added Files:
        mount.sh rc rcS umount.sh 
Log Message:
add skeleton root files


--- NEW FILE ---
#!/bin/sh

mount proc -t proc /proc

--- NEW FILE ---
#!/bin/sh

startup() {
        # Ignore dangling symlinks for now.
        [ ! -f "$1" ] && continue

        case "$1" in
                *.sh)
                        # Source shell script for speed.
                        (
                                . "$@"
                        )
                        ;;
                *)
                        # No sh extension, so fork subprocess.
                        "$@"
                        ;;
        esac
}

runlevel=$1

for service in /etc/rc$runlevel.d/K[0-9][0-9]*
do
    startup $service stop
done

for service in /etc/rc$runlevel.d/S[0-9][0-9]*
do
    startup $service start
done

--- NEW FILE ---
#! /bin/sh
#
# rcS           Call all S??* scripts in /etc/rcS.d in
#               numerical/alphabetical order.
#
# Version:      @(#)/etc/init.d/rcS  2.76  19-Apr-1999  address@hidden
#

PATH=/sbin:/bin:/usr/sbin:/usr/bin
runlevel=S
prevlevel=N
umask 022
export PATH runlevel prevlevel

#
#       Call all parts in order.
#
for i in /etc/rcS.d/S??*
do
        # Ignore dangling symlinks for now.
        [ ! -f "$i" ] && continue

        case "$i" in
                *.sh)
                        # Source shell script for speed.
                        (
                                set start
                                . $i
                        )
                        ;;
                *)
                        # No sh extension, so fork subprocess.
                        $i start
                        ;;
        esac
done


--- NEW FILE ---
#!/bin/sh

umount /proc




reply via email to

[Prev in Thread] Current Thread [Next in Thread]