Commit 31e84349 authored by Benoît Boudaud's avatar Benoît Boudaud

Rajout de la licence

parent 6d6edeb7
#!/bin/bash
# Copyright © 2018 Benoît Boudaud <https://miamondo.org>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
sed -i '/Documents/! s/quit=.*/quit=log_out/' $HOME/Documents/config_files/synchronisation-automatique/rsync.sh
sed -i '/Documents/! s/value=0/value=1/' $HOME/Documents/config_files/synchronisation-automatique/rsync.sh
~/Documents/config_files/synchronisation-automatique/rsync.sh
#!/bin/bash
# Copyright © 2018 Benoît Boudaud <https://miamondo.org>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
sed -i "/Documents/! s/quit=.*/quit=poweroff/" $HOME/Documents/config_files/synchronisation-automatique/rsync.sh
sed -i "/Documents/! s/value=0/value=1/" $HOME/Documents/config_files/synchronisation-automatique/rsync.sh
$HOME/Documents/config_files/synchronisation-automatique/rsync.sh
#!/bin/bash
# Copyright © 2018 Benoît Boudaud <https://miamondo.org>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
sed -i "/Documents/! s/quit=.*/quit=reboot/" $HOME/Documents/config_files/synchronisation-automatique/rsync.sh
sed -i "/Documents/! s/value=0/value=1/" $HOME/Documents/config_files/synchronisation-automatique/rsync.sh
$HOME/Documents/config_files/synchronisation-automatique/rsync.sh
#!/bin/bash
# Copyright © 2018 Benoît Boudaud <https://miamondo.org>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
value=1
quit=
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment