がー。/etc/init.d/bootcomplete.sh で
/usr/local/sbin/miconapl -a boot_endを実行している。
早速 debian でも実行してみた。
(none):~# /usr/local/sbin/miconapl -a boot_endPOWER LED の点滅が消えた。
その後、
(none):~# uptime 06:49:08 up 1 min, 1 user, load average: 0.09, 0.06, 0.02 (none):~# set_fan_speed_nonlinear>now_temperature=38[deg] now_fanspeed=stop set_fan_speed_nonlinear>setted_fanspeed=stop set_fan_speed_nonlinear>now_temperature=38[deg] now_fanspeed=stop : uptime 06:53:26 up 6 min, 1 user, load average: 0.00, 0.02, 0.00 : (none):~# uptime 06:56:21 up 8 min, 1 user, load average: 0.00, 0.00, 0.00 (none):~#と5分を越えて起動している。
ぐっじょぶ!
(none):~# echo /usr/local/sbin/miconapl -a boot_end >> /sbin/setup.sh (none):~# cat !$ cat /sbin/setup.sh date > /etc/rootfs_ok /usr/local/sbin/miconapl -a boot_end (none):~#
シンボリックリンクを削除して miconmon が 起動しないようにしておいて debian をブートする。
(none):/etc# ls -l rc*.d/*miconmon* lrwxrwxrwx 1 root root 21 Sep 8 03:04 rc0.d/K15miconmon -> ../init.d/miconmon.sh lrwxrwxrwx 1 root root 21 Sep 8 03:06 rc1.d/S50miconmon -> ../init.d/miconmon.sh lrwxrwxrwx 1 root root 21 Sep 8 03:06 rc2.d/S50miconmon -> ../init.d/miconmon.sh lrwxrwxrwx 1 root root 21 Sep 8 03:06 rc3.d/S50miconmon -> ../init.d/miconmon.sh lrwxrwxrwx 1 root root 21 Sep 8 03:06 rc4.d/S50miconmon -> ../init.d/miconmon.sh lrwxrwxrwx 1 root root 21 Sep 8 03:06 rc5.d/S50miconmon -> ../init.d/miconmon.sh lrwxrwxrwx 1 root root 21 Sep 8 03:04 rc6.d/K15miconmon -> ../init.d/miconmon.sh lrwxrwxrwx 1 root root 21 Sep 8 03:06 rcS.d/S50miconmon -> ../init.d/miconmon.sh (none):/etc# rm rc*.d/*miconmon* (none):/etc# ls -l rc*.d/*miconmon* ls: rc*.d/*miconmon*: No such file or directory (none):/etc# shutdown -r now : : : Debian GNU/Linux testing/unstable (none) ttyS0 (none) login: root Password: Last login: Sat Sep 9 06:48:15 2006 on ttyS0 Linux (none) 2.6.12.6-arm1 #75 Sun Jun 11 14:33:24 JST 2006 armv5tejl GNU/Linux The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. (none):~# /usr/local/sbin/miconapl -a boot_end : (none):~# uptime 07:13:46 up 6 min, 1 user, load average: 0.00, 0.02, 0.00miconapl -a boot_end だけでも6分を越えて安定している。
root@UDE:~# cd / root@UDE:/# mkdir /mnt/debinst/usr/local/buffalo root@UDE:/# tar cf - lib/ld-* lib/libc-2.3.6.so lib/libc.so.6|(cd /mnt/debinst/usr/local/buffalo/; tar xvf -) lib/libc.so.6 lib/libc-2.3.6.so lib/ld-linux.so.3 lib/ld-linux.so.2 lib/ld-2.3.6.so root@UDE:/# tar cf - usr/local/sbin/miconapl |(cd /mnt/debinst/usr/local/buffalo/; tar xvf -) usr/local/sbin/miconapl root@UDE:/# echo 'chroot /usr/local/buffalo $0 $*' > /mnt/debinst/usr/local/sbin/miconapl root@UDE:/# chmod +x /mnt/debinst/usr/local/sbin/miconapl root@UDE:/# tar cf - usr/local/lib/libbuffalo_bin.* |(cd /mnt/debinst/usr/local/buffalo/; tar xvf -) usr/local/lib/libbuffalo_bin.so usr/local/lib/libbuffalo_bin.a root@UDE:/# mkdir /mnt/debinst/usr/local/buffalo/etc root@UDE:/# echo /usr/local/lib > /mnt/debinst/usr/local/buffalo/etc/ld.so.conf root@UDE:/# tar cf - sbin/ldconfig|(cd /mnt/debinst/usr/local/buffalo; tar xvf -) sbin/ldconfig root@UDE:/# chroot /mnt/debinst/usr/local/buffalo ldconfig root@UDE:/# tar cf - dev/ttyS1 |(cd /mnt/debinst/usr/local/buffalo; tar xvf -) dev/ttyS1 root@UDE:/# mkdir /mnt/debinst/usr/local/buffalo/var root@UDE:/# mkdir /mnt/debinst/usr/local/buffalo/var/lock root@UDE:~# chroot /mnt/debinst/usr/local/buffalo /usr/local/sbin/miconapl -a boot_end root@UDE:~#
← LS-GL:debian:ジェイルで miconmon |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ LS-GL:debian:シャットダウン |