mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-05 22:41:20 +00:00
17 lines
248 B
Bash
Executable File
17 lines
248 B
Bash
Executable File
#! /bin/sh
|
|
|
|
set -e
|
|
|
|
if [ ! -L /etc/mtab ]; then
|
|
ln -sf /proc/mounts /etc/mtab
|
|
fi
|
|
if [ ! -L /var/run ]; then
|
|
rm -rf /var/run
|
|
ln -s /run /var/run
|
|
fi
|
|
if [ ! -L /var/lock ]; then
|
|
rm -rf /var/lock
|
|
ln -s /run/lock /var/lock
|
|
fi
|
|
exit 0
|