5 # Compile and install a custom udev-watchdog program
7 echo "Compiling and installing a custom udev-watchdog program"
9 # Import ensure_hook_dependency_is_installed()
10 .
/usr
/local
/lib
/tails-shell-library
/build.sh
12 ensure_hook_dependency_is_installed build-essential binutils libudev-dev
14 SRC
="/usr/src/udev-watchdog.c"
15 DST
="/usr/local/sbin/udev-watchdog"
17 gcc
-o "$DST" "$SRC" -Wall -ludev -lrt
18 strip
--strip-all "$DST"