Renaming and updating naming in live-media-* tools for consistent use of live-medium...
authorDaniel Baumann <mail@daniel-baumann.ch>
Fri, 13 Sep 2013 09:27:08 +0000 (11:27 +0200)
committerDaniel Baumann <mail@daniel-baumann.ch>
Fri, 13 Sep 2013 09:27:08 +0000 (11:27 +0200)
bin/live-medium-cache [moved from bin/live-media-cache with 100% similarity]
bin/live-medium-eject [moved from bin/live-media-eject with 93% similarity]

similarity index 100%
rename from bin/live-media-cache
rename to bin/live-medium-cache
similarity index 93%
rename from bin/live-media-eject
rename to bin/live-medium-eject
index 9fc12ff..74924d9 100755 (executable)
@@ -27,7 +27,7 @@ then
        exit 0
 fi
 
-# Reading configuration files from filesystem and live-media
+# Reading configuration files from filesystem and live-medium
 for _FILE in /etc/live/tools.conf /etc/live/tools/* \
             /lib/live/mount/medium/live/tools.conf /lib/live/mount/medium/live/tools/*
 do
@@ -38,7 +38,7 @@ do
 done
 
 # Setting defaults
-LIVE_MEDIA_EJECT_VERBOSE="${LIVE_MEDIA_EJECT_VERBOSE:-true}"
+LIVE_MEDIUM_EJECT_VERBOSE="${LIVE_MEDIUM_EJECT_VERBOSE:-true}"
 
 # Get root device node
 while read _DEVICE _MOUNT _REST
@@ -86,7 +86,7 @@ case "${LIVE_MEDIUM_TYPE}" in
                        eject -p -m /lib/live/mount/medium >/dev/null 2>&1
                fi
 
-               case "${LIVE_MEDIA_EJECT_VERBOSE}" in
+               case "${LIVE_MEDIUM_EJECT_VERBOSE}" in
                        true)
                                if [ -x /bin/plymouth ] && plymouth --ping
                                then