diff options
| author | Daniel Baumann <daniel@debian.org> | 2007-09-23 14:46:36 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:24:35 +0100 |
| commit | 4bdaa2237c6ae923d1dd068e9024ebceca3f40d9 (patch) | |
| tree | 5a563ee3109e324ae7002f0550ac9850254c1ecd /scripts/casper-functions | |
| parent | c972c6eea545add125883eaaeea459551e54589c (diff) | |
| download | live-boot-4bdaa2237c6ae923d1dd068e9024ebceca3f40d9.tar.gz live-boot-4bdaa2237c6ae923d1dd068e9024ebceca3f40d9.zip | |
Adding live-initramfs 1.87.1-1.
Diffstat (limited to 'scripts/casper-functions')
| -rw-r--r-- | scripts/casper-functions | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/scripts/casper-functions b/scripts/casper-functions index 2603eba..60721b4 100644 --- a/scripts/casper-functions +++ b/scripts/casper-functions @@ -1,25 +1,21 @@ . /scripts/functions -. /casper.vars # Override this so we don't call PROGRESS log_end_msg() { - if [ -x /sbin/usplash_write ]; then - /sbin/usplash_write "SUCCESS ok" - fi - _log_msg "Done." + if [ -x /sbin/usplash_write ]; then + /sbin/usplash_write "SUCCESS ok" + fi + _log_msg "Done." } -really_export () +# Print a message and wait for enter +log_wait_msg() { - STRING="${1}" - VALUE="$(eval echo -n \${$STRING})" - - if [ -f /casper.vars ] && cat /casper.vars | grep -sq "export ${STRING}" ; then - sed -i -e 's/\('${STRING}'=\).*$/\1'${VALUE}'/' /casper.vars - else - echo "export ${STRING}=\"${VALUE}\"" >> /casper.vars - fi - eval export "${STRING}"="${VALUE}" -}
\ No newline at end of file + if [ -x /sbin/usplash_write ]; then + /sbin/usplash_write "INPUTENTER $@" + read nunya < /dev/.initramfs/usplash_outfifo + fi + _log_msg "Waiting: $@ ..." +} |
