[package] base-files: implement "reqopts" parameter for dhcp interfaces to specify...
[openwrt.git] / package / base-files / files / lib / preinit / 40_mount_devpts
1 #!/bin/sh
2 # Copyright (C) 2006 OpenWrt.org
3 # Copyright (C) 2010 Vertical Communications
4
5 init_devpts() {
6 [ -d /dev/pts ] || mkdir -p /dev/pts
7 }
8
9 do_mount_devpts() {
10 mount devpts /dev/pts -t devpts
11 }
12
13 boot_hook_add preinit_essential init_devpts
14 boot_hook_add preinit_essential do_mount_devpts
15
This page took 0.039003 seconds and 5 git commands to generate.