Changes between Version 5 and Version 6 of setup_target/bebop2


Ignore:
Timestamp:
Jan 17, 2020, 6:10:32 PM (5 years ago)
Author:
Bayard Gildas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • setup_target/bebop2

    v5 v6  
    7272mount -t devpts devpts /data/ftp/internal_000/rootfs/dev/pts
    7373
    74 chroot  /data/ftp/internal_000/rootfs/ /etc/init.d/dropbear start
     74chroot  /data/ftp/internal_000/rootfs/ /etc/chroot_init
    7575}}}
    7676
    77 This script is started automatically by
    78   * adding the file /etc/boxinit.d/99-chroot.rc containings
     77Our /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
     84The chroot.sh script is started automatically by adding the file /etc/boxinit.d/99-chroot.rc containings
    7985{{{
    8086on property:state.wifi=ready
     
    8591        oneshot
    8692}}}
    87  
     93note: 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)