mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-26 01:37:04 +00:00
- initmounts -> onl-mounts
- pki -> onl-pki
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user