diff options
| author | Gunnar Wolf <gwolf@gwolf.org> | 2019-07-19 12:46:52 -0300 |
|---|---|---|
| committer | Gunnar Wolf <gwolf@gwolf.org> | 2019-07-19 12:46:52 -0300 |
| commit | ad7a56130ee29d41a9444af072ff9f4bcd89638a (patch) | |
| tree | ee186e68b8547b757a41a738b5dfe12bcdc6c980 | |
| parent | 959f5367d0a82ec352b5556777047997c6b1e93f (diff) | |
Replace "set-sysconf" for a more descriptive "rpi-set-sysconf"
| -rw-r--r-- | raspi0w.yaml | 6 | ||||
| -rw-r--r-- | raspi2.yaml | 6 | ||||
| -rw-r--r-- | raspi3.yaml | 6 | ||||
| -rw-r--r-- | rpi-set-sysconf | 2 | ||||
| -rw-r--r-- | rpi-set-sysconf.service | 2 |
5 files changed, 11 insertions, 11 deletions
diff --git a/raspi0w.yaml b/raspi0w.yaml index 90be261..82de1c5 100644 --- a/raspi0w.yaml +++ b/raspi0w.yaml @@ -96,11 +96,11 @@ steps: install -m 644 -o root -g root eth0 "${ROOT?}/etc/network/interfaces.d/eth0" - install -m 755 -o root -g root set-sysconf "${ROOT?}/usr/local/sbin/set-sysconf" - install -m 644 -o root -g root set-sysconf.service "${ROOT?}/etc/systemd/system" + install -m 755 -o root -g root rpi-set-sysconf "${ROOT?}/usr/local/sbin/rpi-set-sysconf" + install -m 644 -o root -g root rpi-set-sysconf.service "${ROOT?}/etc/systemd/system" install -m 644 -o root -g root sysconf.txt "${ROOT?}/boot/firmware/sysconf.txt" mkdir -p "${ROOT?}/etc/systemd/system/basic.target.requires/" - ln -s /etc/systemd/system/set-sysconf.service "${ROOT?}/etc/systemd/system/basic.target.requires/set-sysconf.service" + ln -s /etc/systemd/system/rpi-set-sysconf.service "${ROOT?}/etc/systemd/system/basic.target.requires/rpi-set-sysconf.service" install -m 755 -o root -g root rpi-resizerootfs "${ROOT?}/usr/sbin/rpi-resizerootfs" install -m 644 -o root -g root rpi-resizerootfs.service "${ROOT?}/etc/systemd/system" diff --git a/raspi2.yaml b/raspi2.yaml index e82d30d..1f48650 100644 --- a/raspi2.yaml +++ b/raspi2.yaml @@ -94,11 +94,11 @@ steps: install -m 644 -o root -g root eth0 "${ROOT?}/etc/network/interfaces.d/eth0" - install -m 755 -o root -g root set-sysconf "${ROOT?}/usr/local/sbin/set-sysconf" - install -m 644 -o root -g root set-sysconf.service "${ROOT?}/etc/systemd/system" + install -m 755 -o root -g root rpi-set-sysconf "${ROOT?}/usr/local/sbin/rpi-set-sysconf" + install -m 644 -o root -g root rpi-set-sysconf.service "${ROOT?}/etc/systemd/system" install -m 644 -o root -g root sysconf.txt "${ROOT?}/boot/firmware/sysconf.txt" mkdir -p "${ROOT?}/etc/systemd/system/basic.target.requires/" - ln -s /etc/systemd/system/set-sysconf.service "${ROOT?}/etc/systemd/system/basic.target.requires/set-sysconf.service" + ln -s /etc/systemd/system/rpi-set-sysconf.service "${ROOT?}/etc/systemd/system/basic.target.requires/rpi-set-sysconf.service" install -m 755 -o root -g root rpi-resizerootfs "${ROOT?}/usr/sbin/rpi-resizerootfs" install -m 644 -o root -g root rpi-resizerootfs.service "${ROOT?}/etc/systemd/system" diff --git a/raspi3.yaml b/raspi3.yaml index 64c8f96..e0cfa63 100644 --- a/raspi3.yaml +++ b/raspi3.yaml @@ -96,11 +96,11 @@ steps: install -m 644 -o root -g root eth0 "${ROOT?}/etc/network/interfaces.d/eth0" - install -m 755 -o root -g root set-sysconf "${ROOT?}/usr/local/sbin/set-sysconf" - install -m 644 -o root -g root set-sysconf.service "${ROOT?}/etc/systemd/system" + install -m 755 -o root -g root rpi-set-sysconf "${ROOT?}/usr/local/sbin/rpi-set-sysconf" + install -m 644 -o root -g root rpi-set-sysconf.service "${ROOT?}/etc/systemd/system" install -m 644 -o root -g root sysconf.txt "${ROOT?}/boot/firmware/sysconf.txt" mkdir -p "${ROOT?}/etc/systemd/system/basic.target.requires/" - ln -s /etc/systemd/system/set-sysconf.service "${ROOT?}/etc/systemd/system/basic.target.requires/set-sysconf.service" + ln -s /etc/systemd/system/rpi-set-sysconf.service "${ROOT?}/etc/systemd/system/basic.target.requires/rpi-set-sysconf.service" install -m 755 -o root -g root rpi-resizerootfs "${ROOT?}/usr/sbin/rpi-resizerootfs" install -m 644 -o root -g root rpi-resizerootfs.service "${ROOT?}/etc/systemd/system" diff --git a/rpi-set-sysconf b/rpi-set-sysconf index 132d7b3..bead307 100644 --- a/rpi-set-sysconf +++ b/rpi-set-sysconf @@ -45,5 +45,5 @@ exit 0; sub logger { my ($prio, $msg) = @_; system('/bin/logger', '-p', "daemon.$prio", - '-t', 'set-sysconf', $msg); + '-t', 'rpi-set-sysconf', $msg); } diff --git a/rpi-set-sysconf.service b/rpi-set-sysconf.service index e8c5df8..94adcef 100644 --- a/rpi-set-sysconf.service +++ b/rpi-set-sysconf.service @@ -3,7 +3,7 @@ Description=Set up system configuration [Service] Type=oneshot -ExecStart=/usr/local/sbin/set-sysconf +ExecStart=/usr/local/sbin/rpi-set-sysconf ExecStart=/bin/systemctl --no-reload disable %n [Install] |
