This repository has been archived on 2024-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
evolution-packages/srcpkgs/dinit-services/files/dinit.d/early-filesystems.sh

18 lines
344 B
Bash
Executable File

#!/bin/sh
set -e
if [ "$1" = start ]; then
PATH=/usr/bin:/usr/sbin:/bin:/sbin
mkdir -p /dev/pts /dev/shm
mount -n -t tmpfs -o nodev,nosuid tmpfs /dev/shm
mount -n -t devpts -o gid=5 devpts /dev/pts
# /run, and various directories within it
mount -n -t tmpfs -o mode=775 tmpfs /run
mkdir /run/lock /run/udev
fi