From 0abace2bbec9e17a3630c463e4e3c329c967334b Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Wed, 27 May 2015 16:32:57 +0200 Subject: restructuring & bit of documentation ;) dracut module now in 'dnbd3-qcow2-rootfs'. ALLLLL dracut related stuff goes in here! --- testModule/library.sh | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 testModule/library.sh (limited to 'testModule/library.sh') diff --git a/testModule/library.sh b/testModule/library.sh deleted file mode 100644 index d3f97aff..00000000 --- a/testModule/library.sh +++ /dev/null @@ -1,38 +0,0 @@ -cat /proc/cmdline >/tmp/cmdline - -replace_cmd() { - sed --regexp-extended "s/$1=[^ ]*/$1=$2/g" /tmp/cmdline -i -} - -getcmdline() { - local _line - local _i - local CMDLINE_ETC_D - local CMDLINE_ETC - unset _line - - if [ -e /etc/cmdline ]; then - while read -r _line; do - CMDLINE_ETC="$CMDLINE_ETC $_line"; - done