Just a little trick to save download time if you use the live "CD" several times (I suppose of course you're using a USB stick). After the script has downloaded the packages, they are kept in /var/cache/apt/archives on the live virtual file system. If you run the script again with the "savedebs" command, it will save the packages to your USB stick. The script will then find the packages there the next time and the package manager won't need to download them again.
Note: The script will use a subdirectory called "archives" in the same directory as itself, so the above supposes you have copied the xorg-edgers-live-test script to the USB stick.Code:sudo sh /cdrom/xorg-edgers-live-test savedebs


Reply With Quote
There are much better ways to check for a casper live cd. 

). I could add your casper check though. But even persistant live USB sticks could get complicated, if I just checked for a live "CD".