Comments (3)
The script is removing the text between the start and end tags #vfs_recycle_start to the #vfs_recyc.e_end.
The smb-extra.conf script was written by someone else and works fine. I may take a look at it sometime.
I have resolved the other two issues.
from recycle.bin.
Well the sed line doesn't
root@MediaStore:~# cat /boot/config/smb-extra.conf
[global]
unix extensions = Yes
store dos attributes = Yes
wins support = Yes
force user = nobody
#vfs_recycle_start
#Recycle bin configuration
[global]
vfs objects = recycle
recycle:repository = %P/.Recycle.Bin/
recycle:directory_mode = 0777
recycle:keeptree = Yes
recycle:touch = Yes
recycle:touch_mtime = Yes
recycle:versions = Yes
recycle:exclude = *.tmp,._.*,.DS*
recycle:exclude_dir = .Recycle.Bin
#vfs_recycle_end
root@MediaStore:~# sed '/#vfs_recycle_start/,/#vfs_recycle_end/{//d}' /boot/config/smb-extra.conf
[global]
unix extensions = Yes
store dos attributes = Yes
wins support = Yes
force user = nobody
#Recycle bin configuration
[global]
vfs objects = recycle
recycle:repository = %P/.Recycle.Bin/
recycle:directory_mode = 0777
recycle:keeptree = Yes
recycle:touch = Yes
recycle:touch_mtime = Yes
recycle:versions = Yes
recycle:exclude = *.tmp,._.*,.DS*
recycle:exclude_dir = .Recycle.Bin
Should have been:
root@MediaStore:~# sed '/#vfs_recycle_start/,/#vfs_recycle_end/d' /boot/config/smb-extra.conf
[global]
unix extensions = Yes
store dos attributes = Yes
wins support = Yes
force user = nobody
from recycle.bin.
That code doesn't get executed. I'm removing it.
from recycle.bin.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recycle.bin.