Skip to content

Instantly share code, notes, and snippets.

Avatar

Rasmus neonsea

View GitHub Profile
@neonsea
neonsea / chroot.sh
Last active Jan 30, 2020
OpenWRT chroot helper script
View chroot.sh
#!/bin/bash
# script to mount and chroot into a rootfs directory
# designed for openwrt systems, but should work for anything with minimal modifications
# unless you specify a different chroot dir,
# place script on the same level as the rootfs directory, should look something like so:
# /mnt/
# |- chroot.sh
# |- rootfs/
You can’t perform that action at this time.