diff options
Diffstat (limited to 'chinese/gbfs/files/gbfs.sh')
-rw-r--r-- | chinese/gbfs/files/gbfs.sh | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/chinese/gbfs/files/gbfs.sh b/chinese/gbfs/files/gbfs.sh deleted file mode 100644 index 2eff687f8fef..000000000000 --- a/chinese/gbfs/files/gbfs.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -case "$1" in -start) - if [ -x ${PREFIX}/modules/cd9660.ko ]; then - echo -n ' GB-cd9660' - kldload /usr/local/modules/cd9660.ko - fi - if [ -x ${PREFIX}/modules/msdos.ko ]; then - echo -n ' GB-msdos' - kldload /usr/local/modules/msdos.ko - fi - # msdosfs.ko instead of msdos.ko after FreeBSD 5.0-CURRENT - if [ -x ${PREFIX}/modules/msdosfs.ko ]; then - echo -n ' GB-msdosfs' - kldload /usr/local/modules/msdosfs.ko - fi - if [ -x ${PREFIX}/modules/ntfs.ko ]; then - echo -n ' GB-ntfs' - kldload /usr/local/modules/ntfs.ko - fi - ;; -stop) - kldunload -v -n cd9660 && echo -n ' GB-cd9660' - kldunload -v -n msdos && echo -n ' GB-msdos' - kldunload -v -n msdosfs && echo -n ' GB-msdosfs' - kldunload -v -n ntfs && echo -n ' GB-ntfs' - ;; -*) - echo "Usage: $0 {start|stop}" >&2 - exit 1 - ;; -esac |