You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
556 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

TARGETDIR=$1
# Set root password to root. Password generated with
# mkpasswd, from the whois package in Debian/Ubuntu.
#sed -i s%^root::%root:8kfIfYHmcyQEE:% $TARGETDIR/etc/shadow
# Application/log file mount point
#mkdir -p $TARGETDIR/applog
#grep -q "^/dev/mtdblock7" $TARGET_DIR/etc/fstab || echo "/dev/mtdblock7\t\t/applog\tjffs2\tdefaults\t\t0\t0" >> $TARGETDIR/etc/fstab
# Copy the rootfs additions
if [ -d $BOARDDIR/rootfs-additions ]; then
echo "Copying rootfs additions..."
cp -a $BOARDDIR/rootfs-additions/* $TARGETDIR/
fi