Contents of /trunk/initscripts/patches/initscripts-0.7.0.3-export-runlevel.patch
Parent Directory | Revision Log
Revision 1745 -
(show annotations)
(download)
Thu Apr 19 15:30:11 2012 UTC (12 years, 5 months ago) by niro
File size: 392 byte(s)
Thu Apr 19 15:30:11 2012 UTC (12 years, 5 months ago) by niro
File size: 392 byte(s)
-added more patches
1 | Index: initscripts/busybox/rc/rc |
2 | =================================================================== |
3 | --- initscripts/busybox/rc/rc (Revision 1538) |
4 | +++ initscripts/busybox/rc/rc (Arbeitskopie) |
5 | @@ -26,6 +26,8 @@ |
6 | trap "" INT QUIT TSTP |
7 | |
8 | [ "$1" != "" ] && runlevel=$1 |
9 | +# export runlevel variable to make it accessible for other rc-scripts |
10 | +export runlevel |
11 | |
12 | if [[ $runlevel = sysinit ]] |
13 | then |