#!/bin/sh set -ex cd /bin if test -f parted_devices.real; then exit 0; fi mv parted_devices parted_devices.real cat <parted_devices #!/bin/sh /bin/parted_devices.real | grep -v ' 0 ' END2 chmod +x parted_devices