Compare commits
12 Commits
funtoo-ope
...
openrc-0.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
31dbdf69d2 | ||
|
|
c7e14b2c17 | ||
|
|
6ceb62969a | ||
|
|
d5ecc9d746 | ||
|
|
6df5176462 | ||
|
|
0c6df86503 | ||
|
|
cd2d520fd1 | ||
|
|
0e3860e76f | ||
|
|
670b72b328 | ||
|
|
3ebaa31edb | ||
|
|
0f3813c8cf | ||
|
|
28c13790ff |
@@ -1,3 +1,3 @@
|
||||
NAME= openrc
|
||||
VERSION= 0.10
|
||||
VERSION= 0.10.5
|
||||
PKG= ${NAME}-${VERSION}
|
||||
|
||||
@@ -61,7 +61,7 @@ udhcpc_start()
|
||||
esac
|
||||
|
||||
case " ${args} " in
|
||||
*" --hosname="*|*" -h "*|*" -H "*);;
|
||||
*" --hostname="*|*" -h "*|*" -H "*);;
|
||||
*)
|
||||
if ${sendhost}; then
|
||||
local hname="$(hostname)"
|
||||
|
||||
@@ -37,14 +37,23 @@ fi
|
||||
|
||||
# /run is a new directory for storing volatile runtime data.
|
||||
# Read more about /run at https://lwn.net/Articles/436012
|
||||
sys="$(rc --sys)"
|
||||
|
||||
if [ ! -d /run ]; then
|
||||
eerror "The /run directory does not exist. Unable to continue."
|
||||
return 1
|
||||
if [ "$sys" = VSERVER ]; then
|
||||
if [ -e /run ]; then
|
||||
rm -rf /run
|
||||
fi
|
||||
mkdir /run
|
||||
else
|
||||
eerror "The /run directory does not exist. Unable to continue."
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
|
||||
if mountinfo -q /run; then
|
||||
einfo "/run is already mounted, skipping"
|
||||
else
|
||||
if [ "$sys" = VSERVER ]; then
|
||||
rm -rf /run/*
|
||||
elif ! mountinfo -q /run; then
|
||||
ebegin "Mounting /run"
|
||||
rc=0
|
||||
if ! fstabinfo --mount /run; then
|
||||
|
||||
Reference in New Issue
Block a user