module-setup.sh 539 B

12345678910111213141516171819202122
  1. #!/bin/bash
  2. # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
  3. # ex: ts=8 sw=4 sts=4 et filetype=sh
  4. check() {
  5. return 255
  6. }
  7. depends() {
  8. echo dmsquash-live
  9. }
  10. install() {
  11. inst /usr/bin/chroot
  12. inst /usr/bin/chmod
  13. inst /usr/bin/sed
  14. inst_hook pre-pivot 01 "$moddir/adduser.sh"
  15. inst_hook pre-pivot 02 "$moddir/display-manager-autologin.sh"
  16. inst_hook pre-pivot 03 "$moddir/copy-initramfs.sh"
  17. inst_hook pre-pivot 04 "$moddir/locale.sh"
  18. inst_hook pre-pivot 05 "$moddir/services.sh"
  19. }