repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git]
/
udev-old-kernel
/
root-link.sh
blob
05273fe7c8cf1f2a37390f5550c2ee31ab7d2fbe
1
#! /bin/sh
2
# Creates root symlink in /dev
3
# for Arch Linux by Roman Kyrylych <Roman.Kyrylych@gmail.com>
4
5
if
! [
-L
/
dev
/
root
];
then
6
ln
-s
$
(
cat
/
proc
/
cmdline |
sed
"s: :
\n
:g"
|
grep
root
=
|
sed
"s:root=::"
) /
dev
/
root
7
fi