2013-07-22 17:57:18 +02:00
|
|
|
#!/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
|
2022-12-11 08:51:13 +01:00
|
|
|
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
|
|
|
|
}
|