drtyhlpr / rpi23-gen-image

Advanced Debian "stretch" and "buster" bootstrap script for RPi 0/1/2/3 and QEMU
GNU General Public License v2.0
307 stars 123 forks source link

feat: custom.d firstboot action #207

Closed tswaehn closed 4 years ago

tswaehn commented 4 years ago

I was wondering if we could implement a standardized hook for firstboot actions.

why?:

suggestions:

this does basically the same as the default firstboot:

cat files/firstboot/10_after_boot.sh >> "${ETC_DIR}/rc.firstboot"

drtyhlpr commented 4 years ago

Hi, feel free to add the stuff that you think is usefull for you and others :) sounds good!

tswaehn commented 4 years ago

@drtyhlpr thanks. I try to not interfere with any design paths :)

burnbabyburn commented 4 years ago

Kannst du mir das genauer erklären? Ich wollte das gerade in Code umsetzen und verstehe nicht was du meinst.

VonOx commented 4 years ago

Hi

Need this feature too Just handle firstboot script in custom.d if exist

@burnbabyburn or @tswaehn , have you made the modification ? If not i will make a PR