mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
nfs-kernel-server: do not export /mnt by default
Currently, the nfs-kernel-server package exports /mnt by default after it is installed. This is not a good default behavior, as it may expose sensitive data to the network if a user mounts something on /mnt. This commit commented out the line that exports /mnt, so the user has to enable it explicitly. Signed-off-by: Yangyu Chen <cyy@cyyself.name>
This commit is contained in:
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=nfs-kernel-server
|
||||
PKG_VERSION:=2.6.2
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
PKG_HASH:=26d46448982252e9e2c8346d10cf13e1143e7089c866f53e25db3359f3e9493c
|
||||
|
||||
PKG_SOURCE_URL:=@SF/nfs
|
||||
|
||||
@@ -1 +1 @@
|
||||
/mnt *(ro,all_squash,insecure,sync)
|
||||
# /mnt *(ro,all_squash,insecure,sync)
|
||||
|
||||
Reference in New Issue
Block a user