7 .
/lib
/functions
/boot.sh
9 firstboot_skip_next
=false
11 for fb_source_file
in /lib
/firstboot
/*; do
19 # invoked as an executable
20 if [ "${0##*/}" = "firstboot" ]; then
21 if [ "$1" = "switch2jffs" ]; then
22 boot_run_hook switch2jffs
23 elif [ -n "$jffs" ]; then
25 echo "firstboot has already been run"
26 echo "jffs2 partition is mounted, only resetting files"
27 boot_run_hook jffs2reset
30 mount
"$mtdpart" /overlay
-t jffs2
31 fopivot
/overlay
/rom
1