mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
7 lines
221 B
Bash
7 lines
221 B
Bash
|
#! /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
|