mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
d13ff660d2
big5fs reads Big5 filenames on Joliet and VFAT filesystems. PR: 22146 Submitted by: Jing-Tang Keith Jang <keith@freebsd.sinica.edu.tw>
23 lines
450 B
Bash
23 lines
450 B
Bash
#!/bin/sh
|
|
|
|
case "$1" in
|
|
start)
|
|
if [ -x @@PREFIX@@/modules/big5cd9660.ko ]; then
|
|
echo -n 'Big5 cd9660'
|
|
kldload /usr/local/modules/big5cd9660.ko
|
|
fi
|
|
if [ -x @@PREFIX@@/modules/big5msdos.ko ]; then
|
|
echo -n 'Big5 msdos'
|
|
kldload /usr/local/modules/big5msdos.ko
|
|
fi
|
|
;;
|
|
stop)
|
|
kldunload -v -n big5cd9660 && echo -n 'Big5 cd9660'
|
|
kldunload -v -n big5msdos && echo -n 'Big5 msdos'
|
|
;;
|
|
*)
|
|
echo "Usage: big5fs.sh {start|stop}" >&2
|
|
exit 1
|
|
;;
|
|
esac
|