add preinit modularization work by Daniel Dickinson (cshore)
[openwrt/staging/yousong.git] / package / base-files / files / lib / preinit / 40_init_shm
1 #!/bin/sh
2 # Copyright (C) 2006 OpenWrt.org
3 # Copyright (C) 2010 Vertical Communications
4
5 init_shm() {
6 [ -d /dev/shm ] || mkdir -p /dev/shm
7 }
8
9 boot_hook_add preinit_essential init_shm
10