Dropping really_export dead code.
authorDaniel Baumann <mail@daniel-baumann.ch>
Mon, 24 Jun 2013 20:12:40 +0000 (22:12 +0200)
committerDaniel Baumann <mail@daniel-baumann.ch>
Mon, 24 Jun 2013 20:12:40 +0000 (22:12 +0200)
components/9990-aaa-fixme.sh
components/9990-main.sh
components/9990-misc-helpers.sh

index 8c7371b..3309c81 100755 (executable)
@@ -28,8 +28,3 @@ fi
 
 custom_overlay_label="persistence"
 persistence_list="persistence.conf"
-
-if [ ! -f /live.vars ]
-then
-       touch /live.vars
-fi
index e67176e..83f087f 100755 (executable)
@@ -16,8 +16,6 @@ Live ()
        tail -f boot.log >&7 &
        tailpid="${!}"
 
-       . /live.vars
-
        LIVE_BOOT_CMDLINE="${LIVE_BOOT_CMDLINE:-$(cat /proc/cmdline)}"
        Cmdline_old
 
index 245e9da..d85a1d1 100755 (executable)
@@ -329,21 +329,6 @@ find_livefs ()
        return 1
 }
 
-really_export ()
-{
-       STRING="${1}"
-       VALUE="$(eval echo -n \${$STRING})"
-
-       if [ -f /live.vars ] && grep -sq "export ${STRING}" /live.vars
-       then
-               sed -i -e 's/\('${STRING}'=\).*$/\1'${VALUE}'/' /live.vars
-       else
-               echo "export ${STRING}=\"${VALUE}\"" >> /live.vars
-       fi
-
-       eval export "${STRING}"="${VALUE}"
-}
-
 is_in_list_separator_helper ()
 {
        local sep element list