Package: casper
Version: 1.61+debian-2
Severity: normal
Tags: patch

casper prompts user to eject cdrom on shutdown... this is not needed if 
netbooting.
Simple quick fix included as patch... but we might want a better way for usb 
booting.

this patch is to debian/init.d in the casper source

Alex Owen

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
--- init.d.orig 2006-07-29 10:13:00.000000000 +0100
+++ init.d      2006-07-30 17:14:30.000000000 +0100
@@ -1,6 +1,7 @@
 #! /bin/sh
 
 grep -qs boot=casper /proc/cmdline || exit 0
+grep -qs netboot /proc/cmdline && exit 0
 
 # Try to cache everything we're likely to need after ejecting.  This
 # is fragile and simple-minded, but our options are limited.

Reply via email to