secubox-openwrt/package/secubox/secubox-app-smbfs
CyberMind-FR d92b3360ea feat(repo): Add unified repo-deploy.sh and multi-arch support
- Add repo-deploy.sh script for staging and deploying packages
- Replicate _all.ipk packages to all 6 architectures automatically
- Add "Refresh Indexes" button to LuCI dashboard for local deployments
- Add RPCD refresh method to regenerate Packages indexes on-device
- Support architectures: aarch64_cortex-a72, aarch64_cortex-a53,
  aarch64_generic, x86_64, mips_24kc, mipsel_24kc

Usage:
  ./secubox-tools/repo-deploy.sh stage --clean
  ./secubox-tools/repo-deploy.sh deploy root@192.168.255.1

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-19 07:48:59 +01:00
..
files feat(repo): Add unified repo-deploy.sh and multi-arch support 2026-03-19 07:48:59 +01:00
Makefile
README.md

SecuBox SMB/CIFS Remote Mount Manager

Manages SMB/CIFS network shares for media servers (Jellyfin, Lyrion), backups, and general-purpose remote storage.

Installation

opkg install secubox-app-smbfs

Configuration

UCI config file: /etc/config/smbfs

config smbfs 'global'
    option enabled '1'
    option mount_base '/mnt/smb'
    option cifs_version '3.0'
    option timeout '10'

config mount 'movies'
    option enabled '1'
    option server '//192.168.1.100/movies'
    option mountpoint '/mnt/smb/movies'
    option username 'media'
    option _password 'secret'
    option read_only '1'
    option auto_mount '1'
    option description 'NAS movie library'

Usage

# Add a share
smbfsctl add movies //nas/movies /mnt/smb/movies

# Set credentials
smbfsctl credentials movies user password

# Set options
smbfsctl set movies read_only 1
smbfsctl set movies description 'Movie library'

# Test connectivity
smbfsctl test movies

# Mount / unmount
smbfsctl mount movies
smbfsctl umount movies

# Enable auto-mount at boot
smbfsctl enable movies

# List all shares
smbfsctl list

# Show detailed mount status
smbfsctl status

# Mount all enabled shares
smbfsctl mount-all

Integration with Media Apps

# Jellyfin: add mounted share as media library
uci add_list jellyfin.media.media_path='/mnt/smb/movies'
uci commit jellyfin

# Lyrion: point music library to mounted share
uci set lyrion.main.media_path='/mnt/smb/music'
uci commit lyrion

Features

  • UCI-based share configuration with credentials storage
  • Auto-mount at boot for enabled shares
  • Read-only or read-write mount modes
  • CIFS protocol version selection (2.0, 2.1, 3.0)
  • Connectivity test before mounting
  • Mount status with disk usage reporting
  • Integration with Jellyfin and Lyrion media paths

Files

  • /etc/config/smbfs -- UCI configuration
  • /etc/init.d/smbfs -- procd init script (auto-mount)
  • /usr/sbin/smbfsctl -- controller CLI

Dependencies

  • kmod-fs-cifs -- CIFS kernel module
  • cifsmount -- mount.cifs utility

License

Apache-2.0