Владелец /home/pi/printer.cfg - юзер pi (надо, чтоб записывать карту стола)
This commit is contained in:
parent
379024f224
commit
05c0886768
|
@ -2,8 +2,8 @@ file:
|
||||||
/home/pi/printer.cfg:
|
/home/pi/printer.cfg:
|
||||||
exists: true
|
exists: true
|
||||||
filetype: file
|
filetype: file
|
||||||
owner: root
|
owner: pi
|
||||||
group: root
|
group: pi
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
contents:
|
contents:
|
||||||
- "[include printer_hw/hw.cfg]"
|
- "[include printer_hw/hw.cfg]"
|
||||||
|
|
3
install
3
install
|
@ -27,7 +27,8 @@ git config pull.rebase false
|
||||||
mkdir -p /home/pi/printer_hw /home/pi/printer_soft /home/pi/printer
|
mkdir -p /home/pi/printer_hw /home/pi/printer_soft /home/pi/printer
|
||||||
|
|
||||||
[ -e /home/pi/printer.cfg ] || \
|
[ -e /home/pi/printer.cfg ] || \
|
||||||
install -m644 -o 0 -g 0 $ConfigsHome/home/pi/printer.cfg /home/pi/printer.cfg
|
install -m644 -o pi -g pi $ConfigsHome/home/pi/printer.cfg /home/pi/printer.cfg
|
||||||
|
chown pi:pi /home/pi/printer.cfg
|
||||||
|
|
||||||
[ -e /home/pi/printer_hw/bed.cfg ] || \
|
[ -e /home/pi/printer_hw/bed.cfg ] || \
|
||||||
install -m644 -o 0 -g 0 $ConfigsHome/home/pi/printer_hw/bed.cfg /home/pi/printer_hw/bed.cfg
|
install -m644 -o 0 -g 0 $ConfigsHome/home/pi/printer_hw/bed.cfg /home/pi/printer_hw/bed.cfg
|
||||||
|
|
Loading…
Reference in New Issue