freebsd-src/usr.sbin/bsdinstall
Michael Gmelin 731704f5ea bsdinstall: Fix installation script splitting
This allows writing setup scripts that contain lines starting with
"#!", e.g., a shebang when creating a shell script using cat:

    #!/bin/sh
    echo "Populate rc.local"
    cat >/etc/rc.local<<EOF
    #!/bin/sh
    echo booted | logger -s -t 'example'
    EOF

Prevent accidentally running a setup script left behind by a
previous invocation of bsdinstall.

Reviewed by:	imp, jrtc27
Differential Revision:	https://reviews.freebsd.org/D43350
2024-01-09 19:14:17 +01:00
..
distextract bsdinstall generate opt_osname.h in include 2023-12-06 18:34:52 -08:00
distfetch bsdinstall generate opt_osname.h in include 2023-12-06 18:34:52 -08:00
include bsdinstall generate opt_osname.h in include 2023-12-06 18:34:52 -08:00
partedit bsdinstall generate opt_osname.h in include 2023-12-06 18:34:52 -08:00
runconsoles
scripts bsdinstall: Fix installation script splitting 2024-01-09 19:14:17 +01:00
bsdinstall Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
bsdinstall.8 bsdinstall.8: Clarify the description of ZFSBOOT_FORCE_4K_SECTORS 2023-11-18 11:45:42 -08:00
Makefile bsdinstall: add include to SUBDIR 2023-12-06 22:17:14 -08:00
Makefile.depend bsdinstall generate opt_osname.h in include 2023-12-06 18:34:52 -08:00
Makefile.inc bsdinstall generate opt_osname.h in include 2023-12-06 18:34:52 -08:00
startbsdinstall bsdinstall: rename "Live CD" to "Live System" 2023-12-29 15:24:25 -05:00