logo       

Re: rc.d scripts: msg#00044

t2.devel

Subject: Re: rc.d scripts



This is a multi-part message in MIME format.

Hi,

 

Found the package.

 

Would I be correct in saying in the system.init file in the sysvinit package needs changing from

 

main_begin
        title "Mounting /proc, /sys, /dev/shm and /dev/pts."
        [ -d /proc/self ] || mount -n /proc
        [ -d /sys/class ] || mount -n /sys
 
    block_begin(start, `Mounting /dev/shm and /dev/pts.')
        mkdir -p /dev/shm
        check(`mount -n /dev/shm')
        mkdir -p /dev/pts
        mount -n /dev/pts 2> /dev/null
dnl

 

to

 

main_begin
    block_begin(start, `Mounting /proc, /sys, /dev/shm and /dev/pts.')
        [ -d /proc/self ] || mount -n /proc
        [ -d /sys/class ] || mount -n /sys
        mkdir -p /dev/shm
        check(`mount -n /dev/shm')
        mkdir -p /dev/pts
        mount -n /dev/pts 2> /dev/null
dnl

 

As the generated script looks like this which causes an error.

 

case "$1" in

      title "Mounting /proc, /sys, /dev/shm and /dev/pts."

      [ -d /proc/self ] || mount -n /proc

      [ -d /sys/class ] || mount -n /sys

 

    start)

      title "Mounting /dev/shm and /dev/pts."

      mkdir -p /dev/shm

      mount -n /dev/shm || error=$?

      mkdir -p /dev/pts

      mount -n /dev/pts 2> /dev/null

 

Regards

 

Adam

 

From: Adam Stirk [mailto:Adam.Stirk@xxxxxxxxxxxxxx]
Sent: 23 July 2008 09:34
To: T2 developers mailing list
Subject: [t2] rc.d scripts

 

Hi,

 

Could someone tell me what package has the rc.d/rc3.d/S01system script in it.

 

Thanks

 

Adam

 



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise