Set permissions for restore script

This commit is contained in:
Bob Mottram 2014-12-21 14:11:34 +00:00
parent e3da650f6e
commit 7554d366ec
1 changed files with 3 additions and 0 deletions

View File

@ -2644,6 +2644,9 @@ function restore_from_friend {
echo '' >> /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME echo '' >> /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME
echo 'exit 0' >> /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME echo 'exit 0' >> /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME
chmod 400 /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME
chmod +x /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME
echo 'restore_from_friend' >> $COMPLETION_FILE echo 'restore_from_friend' >> $COMPLETION_FILE
} }