[base-files/generic] update the /init file to start /sbin/init
[openwrt.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