Don't require sysresccd-usbstick to be run from a sysrcd instance
authorW. Trevor King <wking@drexel.edu>
Wed, 24 Mar 2010 00:25:53 +0000 (20:25 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 24 Mar 2010 00:25:53 +0000 (20:25 -0400)
portage-overlay/sys-apps/sysresccd-scripts/files/sysresccd-usbstick

index ee8e0dec29b24770a950e56b3e5acfd74dca3d52..bf00347e9a3db28bab4115b52ee5b4740c84bf6a 100755 (executable)
@@ -502,11 +502,6 @@ then
        help_readman "${PROG}: This script requires root privileges to operate."
 fi
 
-if ! cat /proc/mounts | awk '{print $2}' | grep -q -F '/memory'
-then
-       help_readman "${PROG}: This script must be executed from SystemRescueCd"
-fi
-
 case "${COMMAND}" in
        listdev)
                do_listdev