Mount /persistent if possible

This commit is contained in:
Ian Gulliver
2016-03-31 11:50:37 -07:00
parent ff83b5fb0e
commit 84753d9829
2 changed files with 32 additions and 5 deletions

View File

@@ -0,0 +1,11 @@
description "Mount /persistent"
start on filesystem
script
DEV=$(findfs LABEL=persistent)
if test "$?" = "0"; then
mkdir /persistent
mount "${DEV}" /persistent
fi
end script