/usr/share/checkbox/patches/0.1-ubuntu3 is in checkbox 0.13.7.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #!/bin/sh
config_file="/etc/hwtest.d/$1.ini"
if [ "$1" = "hwtest" ]; then
sed -i 's|hwtest/plugins/manual_prompt|hwtest/plugins/questions_info|' $config_file
cat <<'EOF' >>$config_file
[hwtest/plugins/questions_info]
directories = %(hwtest_directory)s/questions
EOF
fi
|