]> git.sur5r.net Git - bacula/rescue/blobdiff - rescue/linux/usb/remaster/pack_initrd
Move usb to oldusb
[bacula/rescue] / rescue / linux / usb / remaster / pack_initrd
diff --git a/rescue/linux/usb/remaster/pack_initrd b/rescue/linux/usb/remaster/pack_initrd
deleted file mode 100755 (executable)
index bd5677f..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-#
-if [ ! -d initrd ] ; then
-  echo "Cannot find initrd directory."
-  exit 1
-fi
-cd initrd
-echo "Packing initrd to initrd.gz ..."
-find . | cpio -o -H newc | gzip -9 > ../initrd.gz
-if [ "x$SUID_UID" != "x" ] ; then
-  if [ "x$SUID_GID" = "x" ] ; then
-    chown $SUID_UID ../initrd.gz
-  else
-    chown $SUID_UID:$SUID_GID ../initrd.gz
-  fi  
-fi