diff options
author | Jing-Tang Keith Jang <keith@FreeBSD.org> | 2001-06-22 14:26:17 +0000 |
---|---|---|
committer | Jing-Tang Keith Jang <keith@FreeBSD.org> | 2001-06-22 14:26:17 +0000 |
commit | 41fd8b888d0c9e364cca4e7a85b58d50b46bd3c3 (patch) | |
tree | f109a6938d6e4b7bd42be8751ca29939b1b77b32 /chinese/big5fs/files | |
parent | 3e48a8d004c566f1b7ff2b8f6b8b4594daa09db5 (diff) | |
download | ports-41fd8b888d0c9e364cca4e7a85b58d50b46bd3c3.tar.gz ports-41fd8b888d0c9e364cca4e7a85b58d50b46bd3c3.zip |
Notes
Diffstat (limited to 'chinese/big5fs/files')
-rw-r--r-- | chinese/big5fs/files/big5fs.sh | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/chinese/big5fs/files/big5fs.sh b/chinese/big5fs/files/big5fs.sh index e05863b7a2ed..c203eac822d4 100644 --- a/chinese/big5fs/files/big5fs.sh +++ b/chinese/big5fs/files/big5fs.sh @@ -2,23 +2,29 @@ case "$1" in start) - if [ -x @@PREFIX@@/modules/big5cd9660.ko ]; then + if [ -x @@PREFIX@@/modules/cd9660.ko ]; then echo -n ' Big5-cd9660' - kldload /usr/local/modules/big5cd9660.ko + kldload /usr/local/modules/cd9660.ko fi - if [ -x @@PREFIX@@/modules/big5msdos.ko ]; then + if [ -x @@PREFIX@@/modules/msdos.ko ]; then echo -n ' Big5-msdos' - kldload /usr/local/modules/big5msdos.ko + kldload /usr/local/modules/msdos.ko fi - if [ -x @@PREFIX@@/modules/big5ntfs.ko ]; then + # msdosfs.ko instead of msdos.ko after FreeBSD 5.0-CURRENT + if [ -x @@PREFIX@@/modules/msdosfs.ko ]; then + echo -n ' Big5-msdosfs' + kldload /usr/local/modules/msdosfs.ko + fi + if [ -x @@PREFIX@@/modules/ntfs.ko ]; then echo -n ' Big5-ntfs' - kldload /usr/local/modules/big5ntfs.ko + kldload /usr/local/modules/ntfs.ko fi ;; stop) - kldunload -v -n big5cd9660 && echo -n ' Big5-cd9660' - kldunload -v -n big5msdos && echo -n ' Big5-msdos' - kldunload -v -n big5ntfs && echo -n ' Big5-ntfs' + kldunload -v -n cd9660 && echo -n ' Big5-cd9660' + kldunload -v -n msdos && echo -n ' Big5-msdos' + kldunload -v -n msdosfs && echo -n ' Big5-msdosfs' + kldunload -v -n ntfs && echo -n ' Big5-ntfs' ;; *) echo "Usage: big5fs.sh {start|stop}" >&2 |