From f8dc04862ad5bb1b28fed842981b6e31a177a0d0 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 7 Feb 2013 11:20:51 +0100 Subject: [PATCH] make the file world readable --- pxe_riserver_setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pxe_riserver_setup.sh b/pxe_riserver_setup.sh index 7cac6ee..e424319 100755 --- a/pxe_riserver_setup.sh +++ b/pxe_riserver_setup.sh @@ -3,7 +3,7 @@ # copyright 2013 Holger Levsen # GPL2 licenced -set -x +#set -x export if [ "$4" = "" ] || ( [ "$4" != "install" ] && [ "$4" != "sysinfo" ] && [ "$4" != "localboot" ] ) ; then @@ -45,6 +45,7 @@ echo echo "Copying PXE configuration for $TARGET_HOST to riserver..." scp $TMPFILE riserver:/srv/tftp/pxelinux.cfg/$TARGET_MAC +ssh riserver chmod 755 riserver:/srv/tftp/pxelinux.cfg/$TARGET_MAC rm $TMPFILE echo "Enjoy." -- 2.39.5