archboot/usr/lib/initcpio/install/archboot_usb_modeswitch

19 lines
484 B
Text
Raw Normal View History

#!/usr/bin/env bash
2012-09-12 12:11:35 +02:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
2022-12-11 08:59:16 +01:00
map add_binary tclsh usb_modeswitch usb_modeswitch_dispatcher
map add_full_dir "/usr/lib/tcl8" "/usr/lib/tcl8.6"
2022-03-14 21:32:33 +01:00
map add_file "/etc/usb_modeswitch.conf" "/etc/usb_modeswitch.setup"
map add_full_dir "/etc/usb_modeswitch.d" "/usr/share/usb_modeswitch"
2012-09-12 12:11:35 +02:00
add_dir "/var/lib/usb_modeswitch"
}
help ()
{
cat<<HELPEOF
2021-10-04 11:13:50 +02:00
This hook includes usb_modeswitch on an archboot image.
2012-09-12 12:11:35 +02:00
HELPEOF
}