aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts/contrib/lsb-v3/INSTALL
blob: b7e0f109fddc09448428dedddc3ba8c356cda0c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
LSB-V3 Installation:

Inline LFS installation:  make install &&
                          sed -i.bak 's@/etc/rc.d@/etc@' /etc/inittab


After LFS:  for file in /etc/rc.d /etc/sysconfig/rc /etc/sysconfig/modules \
                /etc/sysconfig/createfiles
              do
                mv $file $file.bak
              done &&
            make install &&
            sed -i.bak 's@/etc/rc.d@/etc@' /etc/inittab


With existing scripts:  HERE=$PWD
                        cp -a /etc/rc.d /etc/rc.d.bak &&
                        mv /etc/rc.d/* /etc &&
                        cd /etc/rc.d &&
                        ln -s ../rc*.d . &&
                        ln -s ../init.d . &&
                        for file in /etc/rc.d /etc/syconfig/rc \
                            /etc/sysconfig/modules /etc/sysconfig/createfiles
                          do
                            mv $file $file.bak
                          done &&
                        cd $HERE &&
                        unset HERE &&
                        make install &&
                        sed -i.bak 's@/etc/rc.d@/etc/@' /etc/inittab
                        
That's it!