diff options
| author | Daniel Baumann <daniel@debian.org> | 2007-09-23 14:46:40 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:31:05 +0100 |
| commit | d0fbcc9b3747ab4339f7487e7d845b467962139c (patch) | |
| tree | 73dc1c91ac6cd8a1aac1b795d0359a10470f4ee3 /scripts/live | |
| parent | 833abaa35c3a77075dd57f3f1a3633d79109a5b4 (diff) | |
| download | live-boot-d0fbcc9b3747ab4339f7487e7d845b467962139c.tar.gz live-boot-d0fbcc9b3747ab4339f7487e7d845b467962139c.zip | |
Adding live-initramfs 1.95.1-1.
Diffstat (limited to 'scripts/live')
| -rwxr-xr-x | scripts/live | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/live b/scripts/live index d52ae7c..f539f52 100755 --- a/scripts/live +++ b/scripts/live @@ -201,6 +201,25 @@ parse_cmdline () export LOCATION ;; + url=*) + LOCATION="${x#url=}" + + mount -n -o bind /sys /root/sys + mount -n -o bind /proc /root/proc + mount -n -o bind /dev /root/dev + + mkdir -p /root/var/run/network + chroot /root ifup -a + chroot /root wget -P /tmp "$location" + chroot /root ifdown -a + + umount /root/sys + umount /root/proc + umount /root/dev + + LOCATION="/tmp/$(basename "$location")" + ;; + */*=*) question="${x%%=*}" value="${x#*=}" |
