Mount /persistent if possible
This commit is contained in:
11
server/chroot_files/persistent.conf
Normal file
11
server/chroot_files/persistent.conf
Normal 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
|
||||
Reference in New Issue
Block a user