mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
7 lines
No EOL
221 B
Bash
Executable file
7 lines
No EOL
221 B
Bash
Executable file
#! /bin/sh
|
|
# Creates root symlink in /dev
|
|
# for Arch Linux by Roman Kyrylych <Roman.Kyrylych@gmail.com>
|
|
|
|
if ! [ -L /dev/root ]; then
|
|
ln -s $(cat /proc/cmdline | sed "s: :\n:g" | grep root= | sed "s:root=::") /dev/root
|
|
fi |