uwu

hardware bitcoin wallet software and build system
git clone https://git.parazyd.org/uwu
Log | Files | Refs | README | LICENSE

commit 325b079f8ac8a3831f53be629ad9b14484cb00a2
parent 15c87eb32578bffd0d532fca9389dc886faa970b
Author: parazyd <parazyd@dyne.org>
Date:   Sat, 21 Nov 2020 19:10:01 +0100

Rename install-chroot to install.

Diffstat:
Dinstall-chroot.sh.in | 44--------------------------------------------
Ainstall.sh.in | 44++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+), 44 deletions(-)

diff --git a/install-chroot.sh.in b/install-chroot.sh.in @@ -1,44 +0,0 @@ -#!/bin/sh -# Copyright (c) 2020 Ivan J. <parazyd@dyne.org> -# This file is part of uwu. -# See LICENSE file for copyright and license details. -set -e - -cat <<EOF > /etc/apk/repositories -https://nl.alpinelinux.org/alpine/edge/main -https://nl.alpinelinux.org/alpine/edge/community -https://nl.alpinelinux.org/alpine/edge/testing -EOF - -echo "nameserver 8.8.8.8" > /etc/resolv.conf - -apk update -apk upgrade -apk add rng-tools electrum openrc alpine-base - -rm -f /etc/resolv.conf - -echo "uwu" > /etc/hostname -echo "127.0.0.1 localhost uwu" > /etc/hosts - -adduser -D -s /bin/ash uwu -echo "@USERCREDENTIALS@" | chpasswd -echo "@ROOTCREDENTIALS@" | chpasswd - -sed -e 's/#rc_parallel="NO"/rc_parallel="YES"/' -i /etc/rc.conf - -cat <<EOF >> /etc/inittab -ttyGS0::respawn:/sbin/getty -L ttyGS0 115200 vt100 -EOF - -echo "ttyGS0" >> /etc/securetty - -boot_initscripts="rngd syslog urandom klogd hostname" -for i in $boot_initscripts; do - rc-update add $i boot -done - -#default_initscripts="electrum-daemon" -#for i in $default_initscripts; do -# rc-update add $i default -#done diff --git a/install.sh.in b/install.sh.in @@ -0,0 +1,44 @@ +#!/bin/sh +# Copyright (c) 2020 Ivan J. <parazyd@dyne.org> +# This file is part of uwu. +# See LICENSE file for copyright and license details. +set -e + +cat <<EOF > /etc/apk/repositories +https://nl.alpinelinux.org/alpine/edge/main +https://nl.alpinelinux.org/alpine/edge/community +https://nl.alpinelinux.org/alpine/edge/testing +EOF + +echo "nameserver 8.8.8.8" > /etc/resolv.conf + +apk update +apk upgrade +apk add rng-tools electrum openrc alpine-base + +#rm -f /etc/resolv.conf + +echo "uwu" > /etc/hostname +echo "127.0.0.1 localhost uwu" > /etc/hosts + +adduser -D -s /bin/ash uwu +echo "@USERCREDENTIALS@" | chpasswd +echo "@ROOTCREDENTIALS@" | chpasswd + +sed -e 's/#rc_parallel="NO"/rc_parallel="YES"/' -i /etc/rc.conf + +cat <<EOF >> /etc/inittab +ttyGS0::respawn:/sbin/getty -L ttyGS0 115200 vt100 +EOF + +echo "ttyGS0" >> /etc/securetty + +boot_initscripts="rngd syslog urandom klogd hostname" +for i in $boot_initscripts; do + rc-update add $i boot +done + +#default_initscripts="electrum-daemon" +#for i in $default_initscripts; do +# rc-update add $i default +#done