forked from synit/synit
26 lines
398 B
Bash
Executable File
26 lines
398 B
Bash
Executable File
#!/bin/sh
|
|
|
|
mount -t devtmpfs none /dev
|
|
|
|
mkdir /dev/pts
|
|
mount -t devpts none /dev/pts
|
|
|
|
mkdir /dev/shm
|
|
mount -t tmpfs -o nodev,nosuid,noexec none /dev/shm
|
|
|
|
mount -t proc none /proc
|
|
|
|
mount -t sysfs none /sys
|
|
|
|
mount -t tmpfs none /run
|
|
|
|
# Docker wants this
|
|
mount -t cgroup2 none /sys/fs/cgroup
|
|
|
|
mount -o rw,remount /
|
|
|
|
mkdir -p /run/etc/syndicate
|
|
mkdir -p /usr/local/etc/syndicate
|
|
|
|
exec /sbin/synit-pid1
|