aboutsummaryrefslogtreecommitdiffstats
path: root/build_install_reboot_damon_kernel.sh
blob: 3dd3f041fb5e39119b558d7fb874da45a7722fca (plain)
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