aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xskel/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/skel/init b/skel/init
index d8a130d..db8ef66 100755
--- a/skel/init
+++ b/skel/init
@@ -6,7 +6,7 @@ mount -t sysfs sysfs /sys
args=$(tr ' ' '\n' < /proc/cmdline)
var() {
- echo "$args" | grep "^$1=" | cut -d= -f2
+ echo "$args" | grep "^$1=" | cut -d= -f2- | tail -1
}
arg() {
echo "$args" | grep -q "^$1$"