mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-13 03:17:54 +08:00
⛅ Sync 2026-10-06 21:11:19
This commit is contained in:
1 parent
fa160a7a5e
commit
bcd6b07350
430 files changed
+1035
-48585
No files matched your search
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
|
||||
START=98
|
||||
|
||||
boot() {
|
||||
# /usr/bin/mountpoint -q /CloudNAS || /usr/bin/mount --make-shared -t tmpfs -o size=4M tmpfs /CloudNAS
|
||||
[ -d /mnt/CloudNAS ] || mkdir -p /mnt/CloudNAS
|
||||
if /usr/bin/mountpoint -q /mnt; then
|
||||
/usr/bin/mount --make-shared /mnt
|
||||
else
|
||||
/usr/bin/mount --make-shared -t tmpfs -o size=4M tmpfs /mnt/CloudNAS
|
||||
fi
|
||||
}
|
||||
Reference in new issue
Block a user