Skip to content

Instantly share code, notes, and snippets.

View DennisLfromGA's full-sized avatar
🏠
Working from home

DennisL DennisLfromGA

🏠
Working from home
  • SOHO
  • GA
  • 16:07 (UTC -12:00)
View GitHub Profile
@DennisLfromGA
DennisLfromGA / go
Created October 31, 2017 15:32
go [chrx]
#!/bin/sh
# #
# chrx-go #
# #
# A wrapper for chrx-install #
# #
: ${CHRX_WEB_ROOT:="https://chrx.org"}
CHRX_CACHE0_DIR="/var/tmp/chrx"
CHRX_LOG_FILE="${CHRX_CACHE0_DIR}/chrx-install.log"
@DennisLfromGA
DennisLfromGA / chrx-install
Created October 31, 2017 15:33
chrx-install [chrx]
#!/bin/bash
#
# chrx-install
#
# chromebook unix installer
#
CHRX_VERSION="2.4.1"
CHRX_OS_DISTRO="galliumos"
@DennisLfromGA
DennisLfromGA / chrx-setup-storage
Created October 31, 2017 15:34
chrx-setup-storage [chrx]
#!/bin/bash
#
# setup_storage
#
# This script is _sourced_ from install-chrx (not exec'ed),
# so all functions and variables from there are available.
#
# It cannot be run directly from the commandline.
#
@DennisLfromGA
DennisLfromGA / Eve-Mint_SysInfo
Created March 19, 2018 00:22
Eve-Mint System Info (auto-generated)
System: Host: Eve-Mint Kernel: 4.13.0-37-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) dm: lightdm Distro: Linux Mint 18.3 Sylvia
Machine: System: Google (portable) product: Eve v: 1.0 Chassis: type: 3
Mobo: Google model: Eve v: 1.0 Bios: coreboot v: N/A date: 11/07/2017
CPU: Dual core Intel Core i5-7Y57 (-HT-MCP-) cache: 4096 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 6432
clock speeds: min/max: 400/3300 MHz 1: 1600 MHz 2: 1600 MHz 3: 1600 MHz 4: 1600 MHz
Graphics: Card: Intel Device 591e bus-ID: 00:02.0 chip-ID: 8086:591e
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
Resolution: [email protected]
@DennisLfromGA
DennisLfromGA / etc-setup.sh
Last active August 12, 2025 19:47
A script to remove rootfs verification and install an openssh server - needs to be run twice with two reboots.
#!/usr/bin/env bash
###
APPLICATION="${0##*/}"
ARCHIVE=''
CURRENTROOT="$(rootdev -s)"
GO=''
HOM=$HOME
NUM='0'
REV=4 # Added check for root.*.tgz & ui.mini plus cleanup
#!/bin/bash
## Backup script for use before powerwashing or recovery.
ANS=''
DAT="$(date +%m%d%Y)"
DIR="$HOME/Downloads/$DAT"
EXF='--exclude-tag-under=.EXCLUDE'
MOD='Eve'
NIX='/var/crouton/chroots/trusty/home/denny'
echo_e='/bin/echo -e'
xit=0
#!/bin/bash
conffile="recovery.conf"
location="${HOME}/Downloads/"
mkdir -p ${location}
echo "Getting a new ${conffile} file ..."
curl -s https://dl.google.com/dl/edgedl/chromeos/recovery/${conffile} -o /tmp/${conffile}
#!/bin/bash
board=${1:-eve}
confdiff=''
conffile="recovery.conf"
confscript='get-recovery.conf'
location="${HOME}/Downloads/"
del=3
key=''
#!/bin/bash
hwid=${1:-eve}
confdiff=''
conffile="recovery.conf"
confscript='get-recovery.conf'
location="${HOME}/Downloads/"
del=3
key=''
#!/bin/bash
name=${1:-google pixelbook$}
confdiff=''
conffile="recovery.conf"
confscript='get-recovery.conf'
location="${HOME}/Downloads/"
del=3
key=''