Set permissions for restore script
This commit is contained in:
parent
e3da650f6e
commit
7554d366ec
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue