1 |
On 2012-03-12 10:24, Alan Mackenzie wrote: |
2 |
|
3 |
>> #!/bin/busybox ash |
4 |
>> mount -t proc proc /proc |
5 |
>> mount -t sysfs sysfs /sys |
6 |
>> exec /sbin/init |
7 |
|
8 |
> How do I know whether my /sbin/linuxrc actually ran? Maybe, I mean how |
9 |
> can I be sure my "append = "init=/sbin/linuxrc"" actually worked? |
10 |
|
11 |
Well, you can always put in: |
12 |
|
13 |
echo "linuxrc executing!" |
14 |
sleep 5s #I put this here since I suspect it will flash by... |
15 |
|
16 |
before the 'exec /sbin/init' line (or the mount lines) in the linuxrc |
17 |
script above... |
18 |
|
19 |
HTH |
20 |
|
21 |
Best regards |
22 |
|
23 |
Peter K |