package/base-files: add support for the switch LED trigger
[openwrt.git] / package / base-files / files / lib / firstboot / 10_reset_has_mini_fo
1 #!/bin/sh
2
3 # Copyright (C) 2006-2010 OpenWrt.org
4 # Copyright (C) 2010 Vertical Communications
5
6 reset_check_for_overlay() {
7 if grep -qE '(mini_fo|overlay)' /proc/filesystems; then
8 reset_has_fo=true
9 fi
10 }
11
12 boot_hook_add jffs2reset reset_check_for_overlay
This page took 0.043431 seconds and 5 git commands to generate.