]> git.sur5r.net Git - bacula/rescue/commitdiff
Update
authorKern Sibbald <kern@sibbald.com>
Sat, 3 Jan 2009 15:40:10 +0000 (15:40 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 3 Jan 2009 15:40:10 +0000 (15:40 +0000)
rescue/linux/usb/pack_initrd [new file with mode: 0755]
rescue/linux/usb/packinitrd [deleted file]

diff --git a/rescue/linux/usb/pack_initrd b/rescue/linux/usb/pack_initrd
new file mode 100755 (executable)
index 0000000..f3a1e67
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+#
+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
diff --git a/rescue/linux/usb/packinitrd b/rescue/linux/usb/packinitrd
deleted file mode 100755 (executable)
index f3a1e67..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-#
-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