Skip to content
This repository has been archived by the owner on Jan 2, 2020. It is now read-only.

Commit

Permalink
mount parancssori opciók
Browse files Browse the repository at this point in the history
  • Loading branch information
attuska committed Mar 13, 2017
1 parent 686c142 commit 16ab7d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions init
Expand Up @@ -154,6 +154,9 @@ mount -t proc none /proc

# ugly hack for kernel 3.4.0-rc3
eval "$(tr ' ' '\n' </proc/cmdline |grep =|while read x; do echo export $x; done)"
# root mount otions
psor=$(tr ' ' '\n' </proc/cmdline | grep -E '^ro$|^rw$|rootflags=' | while read x; do echo $x; done)
o=$(echo $psor | sed s/rootflags=// | sed 's/ /,/')
if [ -n "$dbg" ]; then
set -x
Expand Down

0 comments on commit 16ab7d7

Please sign in to comment.