aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-09-16 15:57:59 +0300
committerCem Keylan <cem@ckyln.com>2020-09-16 15:57:59 +0300
commitb6f8a2245b38de64b0fb854190dbbab6df851a7d (patch)
tree963d359fd393653aa8c5fb63a837385d7ed29b08
parentae4deee8e038beb95598ce912433e056f80d3b97 (diff)
downloadinit-b6f8a2245b38de64b0fb854190dbbab6df851a7d.tar.gz
parse_cmdline(): skip kernel command line parameters that has a '.'
-rw-r--r--rc.lib1
1 files changed, 1 insertions, 0 deletions
diff --git a/rc.lib b/rc.lib
index 81eed0f..183f6a2 100644
--- a/rc.lib
+++ b/rc.lib
@@ -109,6 +109,7 @@ parse_cmdline() {
while read -r cmdline; do
for arg in $cmdline; do
case "$arg" in
+ *.*) continue ;;
*=*) export "$arg" ;;
*) export "$arg=1" ;;
esac