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/files/dinit.d/early-filesystems.sh

18 lines
344 B
Bash
Raw Normal View History

2023-08-28 22:56:39 +01:00
#!/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