- initmounts -> onl-mounts

- pki -> onl-pki
This commit is contained in:
Jeffrey Townsend
2016-05-27 19:38:48 +00:00
parent c94cc26460
commit 09d6ba8cae
2 changed files with 13 additions and 9 deletions

View File

@@ -69,8 +69,11 @@ if [ ! -f /etc/onl/abort ]; then
# Initialize net devices
( cd /sys/class/net; for d in *; do initnetdev $d add; done )
# Initialize platform mounts
initmounts -q
# FS Checks
onl-mounts fsck all
# Mounts
onl-mounts -q mount all
# Initialize U-Boot environment
if [ -s /proc/device-tree/model ]; then
@@ -100,8 +103,8 @@ fi
#
# Initialize PKI
#
if [ -f /sbin/pki ]; then
/sbin/pki --init
if [ -f /sbin/onl-pki ]; then
/sbin/onl-pki --init
fi

View File

@@ -1,19 +1,20 @@
mounts:
ONL-IMAGES:
mount: w
mount: rw
dir: /mnt/onl/images
fsck: true
ONL-DATA:
mount: w
mount: rw
dir: /mnt/onl/data
fsck: true
ONL-CONFIG:
mount: false
mount: ro
dir: /mnt/onl/config
fsck: true
ONL-BOOT:
mount: w
mount: rw
dir: /mnt/onl/boot
fsck: false
fsck: true