summaryrefslogtreecommitdiff
path: root/package/base-files/files/lib/preinit/80_mount_root
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/lib/preinit/80_mount_root')
-rw-r--r--package/base-files/files/lib/preinit/80_mount_root7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/base-files/files/lib/preinit/80_mount_root b/package/base-files/files/lib/preinit/80_mount_root
index 0292d82..88128bd 100644
--- a/package/base-files/files/lib/preinit/80_mount_root
+++ b/package/base-files/files/lib/preinit/80_mount_root
@@ -3,7 +3,12 @@
# Copyright (C) 2010 Vertical Communications
do_mount_root() {
- mount_root
+ cat /proc/cpuinfo | grep 7623
+ if [ "$?" == "0" ]; then
+ mount_root2
+ else
+ mount_root
+ fi
boot_run_hook preinit_mount_root
[ -f /sysupgrade.tgz ] && {
echo "- config restore -"