mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
351 B

  1. #!/bin/sh
  2. #
  3. # ROCK Linux: /etc/init.d/smbmount
  4. #
  5. # Desc: mounting and unmounting for SMB shares
  6. # Runlevel: 75 rcX
  7. #
  8. main_begin
  9. block_begin(start, `Starting SMB share mounting.')
  10. check(`mount -av -t smbfs')
  11. block_end
  12. block_begin(stop, `Stopping SMB share mounting.')
  13. check(`umount -av -t smbfs')
  14. block_end
  15. main_end