1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/bin/bash set -e if [ $# -ne 1 ] then echo "Usage: $0 <build dir>" exit 1 fi outdir=$1 bindir=$(dirname "$0") "$bindir/build_install_damon_kernel.sh" "$outdir" echo "build and install completed. reboot now" sudo shutdown -r now