[package] base-files: add some more protected services to sysupgrade kill blacklist
[openwrt.git] / package / base-files / files / lib / preinit / 70_pivot_jffs2_root
1 #!/bin/sh
2 # Copyright (C) 2006-2010 OpenWrt.org
3 # Copyright (C) 2010 Vertical Communications
4
5 rootfs_pivot() {
6 check_skip || jffs2_not_mounted || {
7 echo "switching to jffs2"
8 mount -o move /tmp/overlay /overlay 2>&-
9 fopivot /overlay /rom && pi_mount_skip_next=true
10 }
11 }
12
13 boot_hook_add preinit_mount_root rootfs_pivot
14
This page took 0.055653 seconds and 5 git commands to generate.