Deleted Added
full compact
make-memstick.sh (281788) make-memstick.sh (281802)
1#!/bin/sh
2#
3# This script generates a "memstick image" (image that can be copied to a
4# USB memory stick) from a directory tree. Note that the script does not
5# clean up after itself very well for error conditions on purpose so the
6# problem can be diagnosed (full filesystem most likely but ...).
7#
8# Usage: make-memstick.sh <directory tree> <image filename>
9#
1#!/bin/sh
2#
3# This script generates a "memstick image" (image that can be copied to a
4# USB memory stick) from a directory tree. Note that the script does not
5# clean up after itself very well for error conditions on purpose so the
6# problem can be diagnosed (full filesystem most likely but ...).
7#
8# Usage: make-memstick.sh <directory tree> <image filename>
9#
10# $FreeBSD: projects/release-arm64/release/arm64/make-memstick.sh 281788 2015-04-20 20:13:02Z gjb $
10# $FreeBSD: head/release/arm64/make-memstick.sh 281788 2015-04-20 20:13:02Z gjb $
11#
12
13PATH=/bin:/usr/bin:/sbin:/usr/sbin
14export PATH
15
16if [ $# -ne 2 ]; then
17 echo "make-memstick.sh /path/to/directory /path/to/image/file"
18 exit 1

--- 23 unchanged lines hidden ---
11#
12
13PATH=/bin:/usr/bin:/sbin:/usr/sbin
14export PATH
15
16if [ $# -ne 2 ]; then
17 echo "make-memstick.sh /path/to/directory /path/to/image/file"
18 exit 1

--- 23 unchanged lines hidden ---