1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- 57c57
- < # OpenBSD install/upgrade script common subroutines and initialization code
- ---
- > # LibertyBSD install/upgrade script common subroutines and initialization code
- 75c75
- < # various informations from the ftplist.cgi output.
- ---
- > # various informations from the mirror list output.
- 268c268
- < dmesg | sed -n 'H;/^OpenBSD/h;${g;p;}'
- ---
- > dmesg | sed -n 'H;/^LibertyBSD/h;${g;p;}'
- 1597c1597
- < PUB_KEY=/mnt/etc/signify/openbsd-$((VERSION + 1))-base.pub
- ---
- > PUB_KEY=/mnt/etc/signify/libertybsd-$((VERSION + 1))-base.pub
- 1746c1746
- < echo "(Unable to get list from ftp.openbsd.org, but that is OK)"
- ---
- > echo "(Unable to get list from ftp.libertybsd.net, but that is OK)"
- 1827c1827
- < _d=pub/OpenBSD/$HTTP_SETDIR
- ---
- > _d=pub/LibertyBSD/$HTTP_SETDIR
- 2467c2467,2468
- < add_hostent 129.128.5.191 ftp.openbsd.org
- ---
- > add_hostent 47.186.116.162 libertybsd.net
- > add_hostent 47.186.116.162 ftp.libertybsd.net
- 2473c2474
- < "$HTTP_PROTO://ftp.openbsd.org/cgi-bin/ftplist.cgi?dbversion=1" \
- ---
- > "$HTTP_PROTO://ftp.libertybsd.net/pub/mirrors.txt" \
- 2758c2759
- < echo "${INSTALL_URL:-https://cdn.openbsd.org/pub/OpenBSD}" \
- ---
- > echo "${INSTALL_URL:-https://ftp.libertybsd.net/pub/LibertyBSD}" \
- 2822c2823
- < # If a proxy was needed to fetch the sets, use it for fw_update and syspatch
- ---
- > # If a proxy was needed to fetch the sets, use it for syspatch
- 2826,2828d2826
- < # Ensure that fw_update is run on reboot.
- < echo "/usr/sbin/fw_update -v" >>/mnt/etc/rc.firsttime
- <
- 2863c2861
- < CONGRATULATIONS! Your OpenBSD $MODE has been successfully completed!
- ---
- > CONGRATULATIONS! Your LibertyBSD $MODE has been successfully completed!
- 3065,3066d3062
- < # If we managed to talk to the cgi server before, tell it what
- < # location we used... so it can perform magic next time.
- 3073c3069
- < "$HTTP_PROTO://ftp.openbsd.org/cgi-bin/ftpinstall.cgi?dbversion=1&$_i" \
- ---
- > "$HTTP_PROTO://ftp.libertybsd.net/pub/mirrors.txt" \
- 3103,3104c3099,3100
- < # Remove the entry for ftp.openbsd.org
- < sed -i '/^129\.128\.5\.191 /d' /tmp/i/hosts
- ---
- > # Remove the entry for *libertybsd.net
- > sed -i '/^47\.186\.116\.162 /d' /tmp/i/hosts
- 3363c3359
- < PUB_KEY=/etc/signify/openbsd-${VERSION}-base.pub
- ---
- > PUB_KEY=/etc/signify/libertybsd-${VERSION}-base.pub
- 3378c3374
- < set -- $(scan_dmesg "/^OpenBSD $VNAME\([^ ]*\).*$/s//\1/p")
- ---
- > set -- $(scan_dmesg "/^LibertyBSD $VNAME\([^ ]*\).*$/s//\1/p")
|