ubuntu templates: make pstore fstab entry optional

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
Serge Hallyn 2013-09-16 11:48:38 -05:00
parent 740d1928fa
commit 4d7bcfb638
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ sysfs sys sysfs defaults 0 0
/sys/fs/fuse/connections sys/fs/fuse/connections none bind 0 0
/sys/kernel/debug sys/kernel/debug none bind 0 0
/sys/kernel/security sys/kernel/security none bind 0 0
/sys/fs/pstore sys/fs/pstore none bind 0 0
/sys/fs/pstore sys/fs/pstore none bind,optional 0 0
EOF
# unprivileged user can't mknod these. One day we may allow

View File

@ -430,7 +430,7 @@ sysfs sys sysfs defaults 0 0
/sys/fs/fuse/connections sys/fs/fuse/connections none bind 0 0
/sys/kernel/debug sys/kernel/debug none bind 0 0
/sys/kernel/security sys/kernel/security none bind 0 0
/sys/fs/pstore sys/fs/pstore none bind 0 0
/sys/fs/pstore sys/fs/pstore none bind,optional 0 0
EOF
if [ $? -ne 0 ]; then