1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash # Simply a test harness to execute the init hook # while developing /usr/lib/initcpio/busybox ash <<TEST_HARNESS source ./hook run_hook "$1" TEST_HARNESS