Changes between Version 5 and Version 6 of setup_target/bebop2
- Timestamp:
- Jan 17, 2020, 6:10:32 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
setup_target/bebop2
v5 v6 72 72 mount -t devpts devpts /data/ftp/internal_000/rootfs/dev/pts 73 73 74 chroot /data/ftp/internal_000/rootfs/ /etc/ init.d/dropbear start74 chroot /data/ftp/internal_000/rootfs/ /etc/chroot_init 75 75 }}} 76 76 77 This script is started automatically by 78 * adding the file /etc/boxinit.d/99-chroot.rc containings 77 Our /etc/chroot_init (/data/ftp/internal_000/rootfs/etc/chroot_init from the original filesystem) contains 78 {{{ 79 #! /bin/sh 80 /etc/init.d/networking start 81 /etc/init.d/dropbear start 82 }}} 83 84 The chroot.sh script is started automatically by adding the file /etc/boxinit.d/99-chroot.rc containings 79 85 {{{ 80 86 on property:state.wifi=ready … … 85 91 oneshot 86 92 }}} 87 93 note: surprisingly enough, the events "post-fs" and "post-fs-data" occur in a row right at startup (I was hoping using "on post-fs-data" to start the chroot after /data is available but it doesn't work)