public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH 1/3] lfs/initscripts: improve indention
@ 2023-04-08  8:10 Jonatan Schlag
  2023-04-08  8:10 ` [PATCH 2/3] initscript: sort by startup Jonatan Schlag
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jonatan Schlag @ 2023-04-08  8:10 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 11297 bytes --]

As some lines are already now to long, this increase the indention to
improve readablitity.

Signed-off-by: Jonatan Schlag <jonatan.schlag(a)ipfire.org>
---
 lfs/initscripts | 182 ++++++++++++++++++++++++------------------------
 1 file changed, 91 insertions(+), 91 deletions(-)

diff --git a/lfs/initscripts b/lfs/initscripts
index 55f0066e5..bee8a6fc6 100644
--- a/lfs/initscripts
+++ b/lfs/initscripts
@@ -91,97 +91,97 @@ $(TARGET) :
 		install -v -m 755 $$i /etc/rc.d/helper/; \
 	done
 
-	ln -sf ../init.d/sysklogd    /etc/rc.d/rc0.d/K90sysklogd
-	ln -sf ../init.d/sendsignals /etc/rc.d/rc0.d/S60sendsignals
-	ln -sf ../init.d/localnet    /etc/rc.d/rc0.d/S70localnet
-	ln -sf ../init.d/mountfs     /etc/rc.d/rc0.d/S80mountfs
-	ln -sf ../init.d/swap        /etc/rc.d/rc0.d/S90swap
-	ln -sf ../init.d/halt        /etc/rc.d/rc0.d/S99halt
-	ln -sf ../init.d/sysklogd    /etc/rc.d/rc3.d/S10sysklogd
-	ln -sf ../init.d/smartenabler /etc/rc.d/rc3.d/S19smartenabler
-	ln -sf ../init.d/messagebus  /etc/rc.d/rc3.d/S15messagebus
-	ln -sf ../init.d/messagebus  /etc/rc.d/rc0.d/K85messagebus
-	ln -sf ../init.d/messagebus  /etc/rc.d/rc6.d/K85messagebus
-	ln -sf ../init.d/cpufreq     /etc/rc.d/rc3.d/S18cpufreq
-	ln -sf ../init.d/sysklogd    /etc/rc.d/rc6.d/K90sysklogd
-	ln -sf ../init.d/sendsignals /etc/rc.d/rc6.d/S60sendsignals
-	ln -sf ../init.d/mountfs     /etc/rc.d/rc6.d/S70mountfs
-	ln -sf ../init.d/swap        /etc/rc.d/rc6.d/S80swap
-	ln -sf ../init.d/localnet    /etc/rc.d/rc6.d/S90localnet
-	ln -sf ../init.d/reboot      /etc/rc.d/rc6.d/S99reboot
-	ln -sf ../init.d/sshd        /etc/rc.d/rc0.d/K30sshd
-	ln -sf ../init.d/sshd        /etc/rc.d/rc3.d/S30sshd
-	ln -sf ../init.d/sshd        /etc/rc.d/rc6.d/K30sshd
-	ln -sf ../init.d/apache      /etc/rc.d/rc0.d/K28apache
-	ln -sf ../init.d/apache      /etc/rc.d/rc3.d/S32apache
-	ln -sf ../init.d/apache      /etc/rc.d/rc6.d/K28apache
-	ln -sf ../init.d/fcron       /etc/rc.d/rc0.d/K08fcron
-	ln -sf ../init.d/fcron       /etc/rc.d/rc3.d/S40fcron
-	ln -sf ../init.d/fcron       /etc/rc.d/rc6.d/K08fcron
-	ln -sf ../init.d/suricata    /etc/rc.d/rc0.d/K78suricata
-	ln -sf ../init.d/suricata    /etc/rc.d/rc6.d/K78suricata
-	ln -sf ../init.d/network     /etc/rc.d/rc0.d/K80network
-	ln -sf ../init.d/network     /etc/rc.d/rc3.d/S20network
-	ln -sf ../init.d/network     /etc/rc.d/rc6.d/K80network
-	ln -sf ../init.d/unbound     /etc/rc.d/rc0.d/K86unbound
-	ln -sf ../init.d/unbound     /etc/rc.d/rc3.d/S11unbound
-	ln -sf ../init.d/unbound     /etc/rc.d/rc6.d/K86unbound
-	ln -sf ../../sysconfig/rc.local /etc/rc.d/rc3.d/S98rc.local
-	ln -sf ../init.d/client175   /etc/rc.d/rc0.d/K34client175
-	ln -sf ../init.d/client175   /etc/rc.d/rc3.d/S66client175
-	ln -sf ../init.d/client175   /etc/rc.d/rc6.d/K34client175
-	ln -sf ../init.d/sslh        /etc/rc.d/rc3.d/S98sslh
-	ln -sf ../init.d/sslh        /etc/rc.d/rc0.d/K02sslh
-	ln -sf ../init.d/sslh        /etc/rc.d/rc6.d/K02sslh
-	ln -sf ../init.d/vdradmin    /etc/rc.d/rc3.d/S99vdradmin
-	ln -sf ../init.d/vdradmin    /etc/rc.d/rc0.d/K01vdradmin
-	ln -sf ../init.d/vdradmin    /etc/rc.d/rc6.d/K01vdradmin
-	ln -sf ../init.d/motion      /etc/rc.d/rc3.d/S99motion
-	ln -sf ../init.d/motion      /etc/rc.d/rc0.d/K01motion
-	ln -sf ../init.d/motion      /etc/rc.d/rc6.d/K01motion
-	ln -sf ../init.d/imspetor    /etc/rc.d/rc3.d/S99imspetor
-	ln -sf ../init.d/imspetor    /etc/rc.d/rc0.d/K01imspetor
-	ln -sf ../init.d/imspetor    /etc/rc.d/rc6.d/K01imspetor
-	ln -sf  ../init.d/cyrus-sasl /etc/rc.d/rc0.d/K49cyrus-sasl
-	ln -sf  ../init.d/cyrus-sasl /etc/rc.d/rc3.d/S24cyrus-sasl
-	ln -sf  ../init.d/cyrus-sasl /etc/rc.d/rc6.d/K49cyrus-sasl
-	ln -sf ../init.d/leds        /etc/rc.d/rc0.d/K79leds
-	ln -sf ../init.d/leds        /etc/rc.d/rc3.d/S21leds
-	ln -sf ../init.d/leds        /etc/rc.d/rc6.d/K79leds
-	ln -sf ../init.d/fireinfo    /etc/rc.d/rc3.d/S15fireinfo
-	ln -sf ../init.d/conntrackd  /etc/rc.d/rc0.d/K77conntrackd
-	ln -sf ../init.d/conntrackd  /etc/rc.d/rc3.d/S22conntrackd
-	ln -sf ../init.d/conntrackd  /etc/rc.d/rc6.d/K77conntrackd
-	ln -sf ../init.d/mountkernfs /etc/rc.d/rcsysinit.d/S00mountkernfs
-	ln -sf ../init.d/sysctl      /etc/rc.d/rcsysinit.d/S01sysctl
-	ln -sf ../init.d/modules     /etc/rc.d/rcsysinit.d/S05modules
-	ln -sf ../init.d/lvmetad     /etc/rc.d/rcsysinit.d/S09lvmetad
-	ln -sf ../init.d/udev        /etc/rc.d/rcsysinit.d/S10udev
-	ln -sf ../init.d/waitdrives  /etc/rc.d/rcsysinit.d/S19waitdrives
-	ln -sf ../init.d/partresize  /etc/rc.d/rcsysinit.d/S25partresize
-	ln -sf ../init.d/checkfs     /etc/rc.d/rcsysinit.d/S30checkfs
-	ln -sf ../init.d/mountfs     /etc/rc.d/rcsysinit.d/S40mountfs
-	ln -sf ../init.d/swap        /etc/rc.d/rcsysinit.d/S41swap
-	ln -sf ../init.d/fsresize    /etc/rc.d/rcsysinit.d/S42fsresize
-	ln -sf ../init.d/mounttmpfs  /etc/rc.d/rcsysinit.d/S43mounttmpfs
-	ln -sf ../init.d/smt         /etc/rc.d/rcsysinit.d/S44smt
-	ln -sf ../init.d/udev_retry  /etc/rc.d/rcsysinit.d/S45udev_retry
-	ln -sf ../init.d/cleanfs     /etc/rc.d/rcsysinit.d/S50cleanfs
-	ln -sf ../init.d/setclock    /etc/rc.d/rcsysinit.d/S60setclock
-	ln -sf ../init.d/setclock    /etc/rc.d/rc0.d/K47setclock
-	ln -sf ../init.d/setclock    /etc/rc.d/rc6.d/K47setclock
-	ln -sf ../init.d/console     /etc/rc.d/rcsysinit.d/S70console
-	ln -sf ../init.d/pakfire     /etc/rc.d/rcsysinit.d/S71pakfire
-	ln -sf ../init.d/cloud-init  /etc/rc.d/rcsysinit.d/S74cloud-init
-	ln -sf ../init.d/firstsetup  /etc/rc.d/rcsysinit.d/S75firstsetup
-	ln -sf ../init.d/localnet    /etc/rc.d/rcsysinit.d/S80localnet
-	ln -sf ../init.d/firewall    /etc/rc.d/rcsysinit.d/S85firewall
-	ln -sf ../init.d/vnstat      /etc/rc.d/rc3.d/S01vnstat
-	ln -sf ../init.d/vnstat      /etc/rc.d/rc0.d/K51vnstat
-	ln -sf ../init.d/vnstat      /etc/rc.d/rc6.d/K51vnstat
-	ln -sf ../init.d/wlanclient  /etc/rc.d/rc0.d/K82wlanclient
-	ln -sf ../init.d/wlanclient  /etc/rc.d/rc3.d/S19wlanclient
-	ln -sf ../init.d/wlanclient  /etc/rc.d/rc6.d/K82wlanclient
+	ln -sf ../init.d/sysklogd		/etc/rc.d/rc0.d/K90sysklogd
+	ln -sf ../init.d/sendsignals		/etc/rc.d/rc0.d/S60sendsignals
+	ln -sf ../init.d/localnet		/etc/rc.d/rc0.d/S70localnet
+	ln -sf ../init.d/mountfs		/etc/rc.d/rc0.d/S80mountfs
+	ln -sf ../init.d/swap			/etc/rc.d/rc0.d/S90swap
+	ln -sf ../init.d/halt			/etc/rc.d/rc0.d/S99halt
+	ln -sf ../init.d/sysklogd		/etc/rc.d/rc3.d/S10sysklogd
+	ln -sf ../init.d/smartenabler		/etc/rc.d/rc3.d/S19smartenabler
+	ln -sf ../init.d/messagebus		/etc/rc.d/rc3.d/S15messagebus
+	ln -sf ../init.d/messagebus		/etc/rc.d/rc0.d/K85messagebus
+	ln -sf ../init.d/messagebus		/etc/rc.d/rc6.d/K85messagebus
+	ln -sf ../init.d/cpufreq		/etc/rc.d/rc3.d/S18cpufreq
+	ln -sf ../init.d/sysklogd		/etc/rc.d/rc6.d/K90sysklogd
+	ln -sf ../init.d/sendsignals		/etc/rc.d/rc6.d/S60sendsignals
+	ln -sf ../init.d/mountfs		/etc/rc.d/rc6.d/S70mountfs
+	ln -sf ../init.d/swap			/etc/rc.d/rc6.d/S80swap
+	ln -sf ../init.d/localnet		/etc/rc.d/rc6.d/S90localnet
+	ln -sf ../init.d/reboot			/etc/rc.d/rc6.d/S99reboot
+	ln -sf ../init.d/sshd			/etc/rc.d/rc0.d/K30sshd
+	ln -sf ../init.d/sshd			/etc/rc.d/rc3.d/S30sshd
+	ln -sf ../init.d/sshd			/etc/rc.d/rc6.d/K30sshd
+	ln -sf ../init.d/apache			/etc/rc.d/rc0.d/K28apache
+	ln -sf ../init.d/apache			/etc/rc.d/rc3.d/S32apache
+	ln -sf ../init.d/apache			/etc/rc.d/rc6.d/K28apache
+	ln -sf ../init.d/fcron			/etc/rc.d/rc0.d/K08fcron
+	ln -sf ../init.d/fcron			/etc/rc.d/rc3.d/S40fcron
+	ln -sf ../init.d/fcron			/etc/rc.d/rc6.d/K08fcron
+	ln -sf ../init.d/suricata		/etc/rc.d/rc0.d/K78suricata
+	ln -sf ../init.d/suricata		/etc/rc.d/rc6.d/K78suricata
+	ln -sf ../init.d/network		/etc/rc.d/rc0.d/K80network
+	ln -sf ../init.d/network		/etc/rc.d/rc3.d/S20network
+	ln -sf ../init.d/network		/etc/rc.d/rc6.d/K80network
+	ln -sf ../init.d/unbound		/etc/rc.d/rc0.d/K86unbound
+	ln -sf ../init.d/unbound		/etc/rc.d/rc3.d/S11unbound
+	ln -sf ../init.d/unbound		/etc/rc.d/rc6.d/K86unbound
+	ln -sf ../../sysconfig/rc.local		/etc/rc.d/rc3.d/S98rc.local
+	ln -sf ../init.d/client175		/etc/rc.d/rc0.d/K34client175
+	ln -sf ../init.d/client175		/etc/rc.d/rc3.d/S66client175
+	ln -sf ../init.d/client175		/etc/rc.d/rc6.d/K34client175
+	ln -sf ../init.d/sslh			/etc/rc.d/rc3.d/S98sslh
+	ln -sf ../init.d/sslh			/etc/rc.d/rc0.d/K02sslh
+	ln -sf ../init.d/sslh			/etc/rc.d/rc6.d/K02sslh
+	ln -sf ../init.d/vdradmin		/etc/rc.d/rc3.d/S99vdradmin
+	ln -sf ../init.d/vdradmin		/etc/rc.d/rc0.d/K01vdradmin
+	ln -sf ../init.d/vdradmin		/etc/rc.d/rc6.d/K01vdradmin
+	ln -sf ../init.d/motion			/etc/rc.d/rc3.d/S99motion
+	ln -sf ../init.d/motion			/etc/rc.d/rc0.d/K01motion
+	ln -sf ../init.d/motion			/etc/rc.d/rc6.d/K01motion
+	ln -sf ../init.d/imspetor		/etc/rc.d/rc3.d/S99imspetor
+	ln -sf ../init.d/imspetor		/etc/rc.d/rc0.d/K01imspetor
+	ln -sf ../init.d/imspetor		/etc/rc.d/rc6.d/K01imspetor
+	ln -sf  ../init.d/cyrus-sasl		/etc/rc.d/rc0.d/K49cyrus-sasl
+	ln -sf  ../init.d/cyrus-sasl		/etc/rc.d/rc3.d/S24cyrus-sasl
+	ln -sf  ../init.d/cyrus-sasl		/etc/rc.d/rc6.d/K49cyrus-sasl
+	ln -sf ../init.d/leds			/etc/rc.d/rc0.d/K79leds
+	ln -sf ../init.d/leds			/etc/rc.d/rc3.d/S21leds
+	ln -sf ../init.d/leds			/etc/rc.d/rc6.d/K79leds
+	ln -sf ../init.d/fireinfo		/etc/rc.d/rc3.d/S15fireinfo
+	ln -sf ../init.d/conntrackd		/etc/rc.d/rc0.d/K77conntrackd
+	ln -sf ../init.d/conntrackd		/etc/rc.d/rc3.d/S22conntrackd
+	ln -sf ../init.d/conntrackd		/etc/rc.d/rc6.d/K77conntrackd
+	ln -sf ../init.d/mountkernfs		/etc/rc.d/rcsysinit.d/S00mountkernfs
+	ln -sf ../init.d/sysctl			/etc/rc.d/rcsysinit.d/S01sysctl
+	ln -sf ../init.d/modules		/etc/rc.d/rcsysinit.d/S05modules
+	ln -sf ../init.d/lvmetad		/etc/rc.d/rcsysinit.d/S09lvmetad
+	ln -sf ../init.d/udev			/etc/rc.d/rcsysinit.d/S10udev
+	ln -sf ../init.d/waitdrives		/etc/rc.d/rcsysinit.d/S19waitdrives
+	ln -sf ../init.d/partresize		/etc/rc.d/rcsysinit.d/S25partresize
+	ln -sf ../init.d/checkfs		/etc/rc.d/rcsysinit.d/S30checkfs
+	ln -sf ../init.d/mountfs		/etc/rc.d/rcsysinit.d/S40mountfs
+	ln -sf ../init.d/swap			/etc/rc.d/rcsysinit.d/S41swap
+	ln -sf ../init.d/fsresize		/etc/rc.d/rcsysinit.d/S42fsresize
+	ln -sf ../init.d/mounttmpfs		/etc/rc.d/rcsysinit.d/S43mounttmpfs
+	ln -sf ../init.d/smt			/etc/rc.d/rcsysinit.d/S44smt
+	ln -sf ../init.d/udev_retry		/etc/rc.d/rcsysinit.d/S45udev_retry
+	ln -sf ../init.d/cleanfs		/etc/rc.d/rcsysinit.d/S50cleanfs
+	ln -sf ../init.d/setclock		/etc/rc.d/rcsysinit.d/S60setclock
+	ln -sf ../init.d/setclock		/etc/rc.d/rc0.d/K47setclock
+	ln -sf ../init.d/setclock		/etc/rc.d/rc6.d/K47setclock
+	ln -sf ../init.d/console		/etc/rc.d/rcsysinit.d/S70console
+	ln -sf ../init.d/pakfire		/etc/rc.d/rcsysinit.d/S71pakfire
+	ln -sf ../init.d/cloud-init		/etc/rc.d/rcsysinit.d/S74cloud-init
+	ln -sf ../init.d/firstsetup		/etc/rc.d/rcsysinit.d/S75firstsetup
+	ln -sf ../init.d/localnet		/etc/rc.d/rcsysinit.d/S80localnet
+	ln -sf ../init.d/firewall		/etc/rc.d/rcsysinit.d/S85firewall
+	ln -sf ../init.d/vnstat			/etc/rc.d/rc3.d/S01vnstat
+	ln -sf ../init.d/vnstat			/etc/rc.d/rc0.d/K51vnstat
+	ln -sf ../init.d/vnstat			/etc/rc.d/rc6.d/K51vnstat
+	ln -sf ../init.d/wlanclient		/etc/rc.d/rc0.d/K82wlanclient
+	ln -sf ../init.d/wlanclient		/etc/rc.d/rc3.d/S19wlanclient
+	ln -sf ../init.d/wlanclient		/etc/rc.d/rc6.d/K82wlanclient
 
 	ln -sf ../../../../../usr/local/bin/qosctrl \
 		/etc/rc.d/init.d/networking/red.up/24-RS-qos
-- 
2.30.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 2/3] initscript: sort by startup
  2023-04-08  8:10 [PATCH 1/3] lfs/initscripts: improve indention Jonatan Schlag
@ 2023-04-08  8:10 ` Jonatan Schlag
  2023-04-11 10:23   ` Michael Tremer
  2023-04-08  8:10 ` [PATCH 3/3] initscripts: Sort rootfiles Jonatan Schlag
  2023-04-11 10:23 ` [PATCH 1/3] lfs/initscripts: improve indention Michael Tremer
  2 siblings, 1 reply; 6+ messages in thread
From: Jonatan Schlag @ 2023-04-08  8:10 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 8285 bytes --]

As the list of symbolic links was not sorted at all I sorted it now by
the order of start or stop.
This seems to be the most useful way as you can now understand the
startup sequence from this file and add/remove scripts at a useful
place.

Signed-off-by: Jonatan Schlag <jonatan.schlag(a)ipfire.org>
---
 lfs/initscripts | 105 +++++++++++++++++++++++++-----------------------
 1 file changed, 54 insertions(+), 51 deletions(-)

diff --git a/lfs/initscripts b/lfs/initscripts
index bee8a6fc6..9314ff063 100644
--- a/lfs/initscripts
+++ b/lfs/initscripts
@@ -91,67 +91,78 @@ $(TARGET) :
 		install -v -m 755 $$i /etc/rc.d/helper/; \
 	done
 
+	ln -sf ../init.d/imspetor		/etc/rc.d/rc0.d/K01imspetor
+	ln -sf ../init.d/motion			/etc/rc.d/rc0.d/K01motion
+	ln -sf ../init.d/vdradmin		/etc/rc.d/rc0.d/K01vdradmin
+	ln -sf ../init.d/sslh			/etc/rc.d/rc0.d/K02sslh
+	ln -sf ../init.d/fcron			/etc/rc.d/rc0.d/K08fcron
+	ln -sf ../init.d/apache			/etc/rc.d/rc0.d/K28apache
+	ln -sf ../init.d/sshd			/etc/rc.d/rc0.d/K30sshd
+	ln -sf ../init.d/client175		/etc/rc.d/rc0.d/K34client175
+	ln -sf ../init.d/setclock		/etc/rc.d/rc0.d/K47setclock
+	ln -sf  ../init.d/cyrus-sasl		/etc/rc.d/rc0.d/K49cyrus-sasl
+	ln -sf ../init.d/vnstat			/etc/rc.d/rc0.d/K51vnstat
+	ln -sf ../init.d/conntrackd		/etc/rc.d/rc0.d/K77conntrackd
+	ln -sf ../init.d/suricata		/etc/rc.d/rc0.d/K78suricata
+	ln -sf ../init.d/leds			/etc/rc.d/rc0.d/K79leds
+	ln -sf ../init.d/network		/etc/rc.d/rc0.d/K80network
+	ln -sf ../init.d/wlanclient		/etc/rc.d/rc0.d/K82wlanclient
+	ln -sf ../init.d/messagebus		/etc/rc.d/rc0.d/K85messagebus
+	ln -sf ../init.d/unbound		/etc/rc.d/rc0.d/K86unbound
 	ln -sf ../init.d/sysklogd		/etc/rc.d/rc0.d/K90sysklogd
 	ln -sf ../init.d/sendsignals		/etc/rc.d/rc0.d/S60sendsignals
 	ln -sf ../init.d/localnet		/etc/rc.d/rc0.d/S70localnet
 	ln -sf ../init.d/mountfs		/etc/rc.d/rc0.d/S80mountfs
 	ln -sf ../init.d/swap			/etc/rc.d/rc0.d/S90swap
 	ln -sf ../init.d/halt			/etc/rc.d/rc0.d/S99halt
+
+	ln -sf ../init.d/vnstat			/etc/rc.d/rc3.d/S01vnstat
 	ln -sf ../init.d/sysklogd		/etc/rc.d/rc3.d/S10sysklogd
-	ln -sf ../init.d/smartenabler		/etc/rc.d/rc3.d/S19smartenabler
+	ln -sf ../init.d/unbound		/etc/rc.d/rc3.d/S11unbound
+	ln -sf ../init.d/fireinfo		/etc/rc.d/rc3.d/S15fireinfo
 	ln -sf ../init.d/messagebus		/etc/rc.d/rc3.d/S15messagebus
-	ln -sf ../init.d/messagebus		/etc/rc.d/rc0.d/K85messagebus
-	ln -sf ../init.d/messagebus		/etc/rc.d/rc6.d/K85messagebus
 	ln -sf ../init.d/cpufreq		/etc/rc.d/rc3.d/S18cpufreq
-	ln -sf ../init.d/sysklogd		/etc/rc.d/rc6.d/K90sysklogd
-	ln -sf ../init.d/sendsignals		/etc/rc.d/rc6.d/S60sendsignals
-	ln -sf ../init.d/mountfs		/etc/rc.d/rc6.d/S70mountfs
-	ln -sf ../init.d/swap			/etc/rc.d/rc6.d/S80swap
-	ln -sf ../init.d/localnet		/etc/rc.d/rc6.d/S90localnet
-	ln -sf ../init.d/reboot			/etc/rc.d/rc6.d/S99reboot
-	ln -sf ../init.d/sshd			/etc/rc.d/rc0.d/K30sshd
+	ln -sf ../init.d/smartenabler		/etc/rc.d/rc3.d/S19smartenabler
+	ln -sf ../init.d/wlanclient		/etc/rc.d/rc3.d/S19wlanclient
+	ln -sf ../init.d/network		/etc/rc.d/rc3.d/S20network
+	ln -sf ../init.d/leds			/etc/rc.d/rc3.d/S21leds
+	ln -sf ../init.d/conntrackd		/etc/rc.d/rc3.d/S22conntrackd
+	ln -sf  ../init.d/cyrus-sasl		/etc/rc.d/rc3.d/S24cyrus-sasl
 	ln -sf ../init.d/sshd			/etc/rc.d/rc3.d/S30sshd
-	ln -sf ../init.d/sshd			/etc/rc.d/rc6.d/K30sshd
-	ln -sf ../init.d/apache			/etc/rc.d/rc0.d/K28apache
 	ln -sf ../init.d/apache			/etc/rc.d/rc3.d/S32apache
-	ln -sf ../init.d/apache			/etc/rc.d/rc6.d/K28apache
-	ln -sf ../init.d/fcron			/etc/rc.d/rc0.d/K08fcron
 	ln -sf ../init.d/fcron			/etc/rc.d/rc3.d/S40fcron
-	ln -sf ../init.d/fcron			/etc/rc.d/rc6.d/K08fcron
-	ln -sf ../init.d/suricata		/etc/rc.d/rc0.d/K78suricata
-	ln -sf ../init.d/suricata		/etc/rc.d/rc6.d/K78suricata
-	ln -sf ../init.d/network		/etc/rc.d/rc0.d/K80network
-	ln -sf ../init.d/network		/etc/rc.d/rc3.d/S20network
-	ln -sf ../init.d/network		/etc/rc.d/rc6.d/K80network
-	ln -sf ../init.d/unbound		/etc/rc.d/rc0.d/K86unbound
-	ln -sf ../init.d/unbound		/etc/rc.d/rc3.d/S11unbound
-	ln -sf ../init.d/unbound		/etc/rc.d/rc6.d/K86unbound
-	ln -sf ../../sysconfig/rc.local		/etc/rc.d/rc3.d/S98rc.local
-	ln -sf ../init.d/client175		/etc/rc.d/rc0.d/K34client175
 	ln -sf ../init.d/client175		/etc/rc.d/rc3.d/S66client175
-	ln -sf ../init.d/client175		/etc/rc.d/rc6.d/K34client175
+	ln -sf ../../sysconfig/rc.local		/etc/rc.d/rc3.d/S98rc.local
 	ln -sf ../init.d/sslh			/etc/rc.d/rc3.d/S98sslh
-	ln -sf ../init.d/sslh			/etc/rc.d/rc0.d/K02sslh
-	ln -sf ../init.d/sslh			/etc/rc.d/rc6.d/K02sslh
-	ln -sf ../init.d/vdradmin		/etc/rc.d/rc3.d/S99vdradmin
-	ln -sf ../init.d/vdradmin		/etc/rc.d/rc0.d/K01vdradmin
-	ln -sf ../init.d/vdradmin		/etc/rc.d/rc6.d/K01vdradmin
-	ln -sf ../init.d/motion			/etc/rc.d/rc3.d/S99motion
-	ln -sf ../init.d/motion			/etc/rc.d/rc0.d/K01motion
-	ln -sf ../init.d/motion			/etc/rc.d/rc6.d/K01motion
 	ln -sf ../init.d/imspetor		/etc/rc.d/rc3.d/S99imspetor
-	ln -sf ../init.d/imspetor		/etc/rc.d/rc0.d/K01imspetor
+	ln -sf ../init.d/motion			/etc/rc.d/rc3.d/S99motion
+	ln -sf ../init.d/vdradmin		/etc/rc.d/rc3.d/S99vdradmin
+
 	ln -sf ../init.d/imspetor		/etc/rc.d/rc6.d/K01imspetor
-	ln -sf  ../init.d/cyrus-sasl		/etc/rc.d/rc0.d/K49cyrus-sasl
-	ln -sf  ../init.d/cyrus-sasl		/etc/rc.d/rc3.d/S24cyrus-sasl
+	ln -sf ../init.d/motion			/etc/rc.d/rc6.d/K01motion
+	ln -sf ../init.d/vdradmin		/etc/rc.d/rc6.d/K01vdradmin
+	ln -sf ../init.d/sslh			/etc/rc.d/rc6.d/K02sslh
+	ln -sf ../init.d/fcron			/etc/rc.d/rc6.d/K08fcron
+	ln -sf ../init.d/apache			/etc/rc.d/rc6.d/K28apache
+	ln -sf ../init.d/sshd			/etc/rc.d/rc6.d/K30sshd
+	ln -sf ../init.d/client175		/etc/rc.d/rc6.d/K34client175
+	ln -sf ../init.d/setclock		/etc/rc.d/rc6.d/K47setclock
 	ln -sf  ../init.d/cyrus-sasl		/etc/rc.d/rc6.d/K49cyrus-sasl
-	ln -sf ../init.d/leds			/etc/rc.d/rc0.d/K79leds
-	ln -sf ../init.d/leds			/etc/rc.d/rc3.d/S21leds
-	ln -sf ../init.d/leds			/etc/rc.d/rc6.d/K79leds
-	ln -sf ../init.d/fireinfo		/etc/rc.d/rc3.d/S15fireinfo
-	ln -sf ../init.d/conntrackd		/etc/rc.d/rc0.d/K77conntrackd
-	ln -sf ../init.d/conntrackd		/etc/rc.d/rc3.d/S22conntrackd
+	ln -sf ../init.d/vnstat			/etc/rc.d/rc6.d/K51vnstat
 	ln -sf ../init.d/conntrackd		/etc/rc.d/rc6.d/K77conntrackd
+	ln -sf ../init.d/suricata		/etc/rc.d/rc6.d/K78suricata
+	ln -sf ../init.d/leds			/etc/rc.d/rc6.d/K79leds
+	ln -sf ../init.d/network		/etc/rc.d/rc6.d/K80network
+	ln -sf ../init.d/wlanclient		/etc/rc.d/rc6.d/K82wlanclient
+	ln -sf ../init.d/messagebus		/etc/rc.d/rc6.d/K85messagebus
+	ln -sf ../init.d/unbound		/etc/rc.d/rc6.d/K86unbound
+	ln -sf ../init.d/sysklogd		/etc/rc.d/rc6.d/K90sysklogd
+	ln -sf ../init.d/sendsignals		/etc/rc.d/rc6.d/S60sendsignals
+	ln -sf ../init.d/mountfs		/etc/rc.d/rc6.d/S70mountfs
+	ln -sf ../init.d/swap			/etc/rc.d/rc6.d/S80swap
+	ln -sf ../init.d/localnet		/etc/rc.d/rc6.d/S90localnet
+	ln -sf ../init.d/reboot			/etc/rc.d/rc6.d/S99reboot
+
 	ln -sf ../init.d/mountkernfs		/etc/rc.d/rcsysinit.d/S00mountkernfs
 	ln -sf ../init.d/sysctl			/etc/rc.d/rcsysinit.d/S01sysctl
 	ln -sf ../init.d/modules		/etc/rc.d/rcsysinit.d/S05modules
@@ -168,20 +179,12 @@ $(TARGET) :
 	ln -sf ../init.d/udev_retry		/etc/rc.d/rcsysinit.d/S45udev_retry
 	ln -sf ../init.d/cleanfs		/etc/rc.d/rcsysinit.d/S50cleanfs
 	ln -sf ../init.d/setclock		/etc/rc.d/rcsysinit.d/S60setclock
-	ln -sf ../init.d/setclock		/etc/rc.d/rc0.d/K47setclock
-	ln -sf ../init.d/setclock		/etc/rc.d/rc6.d/K47setclock
 	ln -sf ../init.d/console		/etc/rc.d/rcsysinit.d/S70console
 	ln -sf ../init.d/pakfire		/etc/rc.d/rcsysinit.d/S71pakfire
 	ln -sf ../init.d/cloud-init		/etc/rc.d/rcsysinit.d/S74cloud-init
 	ln -sf ../init.d/firstsetup		/etc/rc.d/rcsysinit.d/S75firstsetup
 	ln -sf ../init.d/localnet		/etc/rc.d/rcsysinit.d/S80localnet
 	ln -sf ../init.d/firewall		/etc/rc.d/rcsysinit.d/S85firewall
-	ln -sf ../init.d/vnstat			/etc/rc.d/rc3.d/S01vnstat
-	ln -sf ../init.d/vnstat			/etc/rc.d/rc0.d/K51vnstat
-	ln -sf ../init.d/vnstat			/etc/rc.d/rc6.d/K51vnstat
-	ln -sf ../init.d/wlanclient		/etc/rc.d/rc0.d/K82wlanclient
-	ln -sf ../init.d/wlanclient		/etc/rc.d/rc3.d/S19wlanclient
-	ln -sf ../init.d/wlanclient		/etc/rc.d/rc6.d/K82wlanclient
 
 	ln -sf ../../../../../usr/local/bin/qosctrl \
 		/etc/rc.d/init.d/networking/red.up/24-RS-qos
-- 
2.30.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 3/3] initscripts: Sort rootfiles
  2023-04-08  8:10 [PATCH 1/3] lfs/initscripts: improve indention Jonatan Schlag
  2023-04-08  8:10 ` [PATCH 2/3] initscript: sort by startup Jonatan Schlag
@ 2023-04-08  8:10 ` Jonatan Schlag
  2023-04-11 10:23   ` Michael Tremer
  2023-04-11 10:23 ` [PATCH 1/3] lfs/initscripts: improve indention Michael Tremer
  2 siblings, 1 reply; 6+ messages in thread
From: Jonatan Schlag @ 2023-04-08  8:10 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 3888 bytes --]

This simply sorts the rootfiles. Everything should be sorted :-).

Signed-off-by: Jonatan Schlag <jonatan.schlag(a)ipfire.org>
---
 config/rootfiles/common/aarch64/initscripts | 4 ++--
 config/rootfiles/common/riscv64/initscripts | 6 +++---
 config/rootfiles/common/x86_64/initscripts  | 6 +++---
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/config/rootfiles/common/aarch64/initscripts b/config/rootfiles/common/aarch64/initscripts
index dc6c0fd24..f8a170d7f 100644
--- a/config/rootfiles/common/aarch64/initscripts
+++ b/config/rootfiles/common/aarch64/initscripts
@@ -10,10 +10,10 @@ etc/rc.d/helper/oci-setup
 #etc/rc.d/init.d
 etc/rc.d/init.d/acpid
 etc/rc.d/init.d/apache
-etc/rc.d/init.d/cloud-init
 etc/rc.d/init.d/beep
 etc/rc.d/init.d/checkfs
 etc/rc.d/init.d/cleanfs
+etc/rc.d/init.d/cloud-init
 etc/rc.d/init.d/collectd
 etc/rc.d/init.d/connectd
 etc/rc.d/init.d/conntrackd
@@ -29,8 +29,8 @@ etc/rc.d/init.d/functions
 etc/rc.d/init.d/halt
 etc/rc.d/init.d/ipsec
 etc/rc.d/init.d/leds
-etc/rc.d/init.d/lvmetad
 etc/rc.d/init.d/localnet
+etc/rc.d/init.d/lvmetad
 etc/rc.d/init.d/modules
 etc/rc.d/init.d/mountfs
 etc/rc.d/init.d/mountkernfs
diff --git a/config/rootfiles/common/riscv64/initscripts b/config/rootfiles/common/riscv64/initscripts
index 1848f8ebc..726929a36 100644
--- a/config/rootfiles/common/riscv64/initscripts
+++ b/config/rootfiles/common/riscv64/initscripts
@@ -10,10 +10,10 @@ etc/rc.d/helper/oci-setup
 #etc/rc.d/init.d
 etc/rc.d/init.d/acpid
 etc/rc.d/init.d/apache
-etc/rc.d/init.d/cloud-init
 etc/rc.d/init.d/beep
 etc/rc.d/init.d/checkfs
 etc/rc.d/init.d/cleanfs
+etc/rc.d/init.d/cloud-init
 etc/rc.d/init.d/collectd
 etc/rc.d/init.d/connectd
 etc/rc.d/init.d/conntrackd
@@ -29,8 +29,8 @@ etc/rc.d/init.d/functions
 etc/rc.d/init.d/halt
 etc/rc.d/init.d/ipsec
 etc/rc.d/init.d/leds
-etc/rc.d/init.d/lvmetad
 etc/rc.d/init.d/localnet
+etc/rc.d/init.d/lvmetad
 etc/rc.d/init.d/modules
 etc/rc.d/init.d/mountfs
 etc/rc.d/init.d/mountkernfs
@@ -120,6 +120,7 @@ etc/rc.d/rc0.d/S99halt
 #etc/rc.d/rc3.d
 etc/rc.d/rc3.d/S01vnstat
 etc/rc.d/rc3.d/S10sysklogd
+etc/rc.d/rc3.d/S11unbound
 etc/rc.d/rc3.d/S12acpid
 etc/rc.d/rc3.d/S15fireinfo
 #etc/rc.d/rc3.d/S15messagebus
@@ -127,7 +128,6 @@ etc/rc.d/rc3.d/S15fireinfo
 etc/rc.d/rc3.d/S19smartenabler
 etc/rc.d/rc3.d/S19wlanclient
 etc/rc.d/rc3.d/S20network
-etc/rc.d/rc3.d/S11unbound
 etc/rc.d/rc3.d/S21leds
 etc/rc.d/rc3.d/S22conntrackd
 etc/rc.d/rc3.d/S24cyrus-sasl
diff --git a/config/rootfiles/common/x86_64/initscripts b/config/rootfiles/common/x86_64/initscripts
index 1848f8ebc..726929a36 100644
--- a/config/rootfiles/common/x86_64/initscripts
+++ b/config/rootfiles/common/x86_64/initscripts
@@ -10,10 +10,10 @@ etc/rc.d/helper/oci-setup
 #etc/rc.d/init.d
 etc/rc.d/init.d/acpid
 etc/rc.d/init.d/apache
-etc/rc.d/init.d/cloud-init
 etc/rc.d/init.d/beep
 etc/rc.d/init.d/checkfs
 etc/rc.d/init.d/cleanfs
+etc/rc.d/init.d/cloud-init
 etc/rc.d/init.d/collectd
 etc/rc.d/init.d/connectd
 etc/rc.d/init.d/conntrackd
@@ -29,8 +29,8 @@ etc/rc.d/init.d/functions
 etc/rc.d/init.d/halt
 etc/rc.d/init.d/ipsec
 etc/rc.d/init.d/leds
-etc/rc.d/init.d/lvmetad
 etc/rc.d/init.d/localnet
+etc/rc.d/init.d/lvmetad
 etc/rc.d/init.d/modules
 etc/rc.d/init.d/mountfs
 etc/rc.d/init.d/mountkernfs
@@ -120,6 +120,7 @@ etc/rc.d/rc0.d/S99halt
 #etc/rc.d/rc3.d
 etc/rc.d/rc3.d/S01vnstat
 etc/rc.d/rc3.d/S10sysklogd
+etc/rc.d/rc3.d/S11unbound
 etc/rc.d/rc3.d/S12acpid
 etc/rc.d/rc3.d/S15fireinfo
 #etc/rc.d/rc3.d/S15messagebus
@@ -127,7 +128,6 @@ etc/rc.d/rc3.d/S15fireinfo
 etc/rc.d/rc3.d/S19smartenabler
 etc/rc.d/rc3.d/S19wlanclient
 etc/rc.d/rc3.d/S20network
-etc/rc.d/rc3.d/S11unbound
 etc/rc.d/rc3.d/S21leds
 etc/rc.d/rc3.d/S22conntrackd
 etc/rc.d/rc3.d/S24cyrus-sasl
-- 
2.30.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/3] lfs/initscripts: improve indention
  2023-04-08  8:10 [PATCH 1/3] lfs/initscripts: improve indention Jonatan Schlag
  2023-04-08  8:10 ` [PATCH 2/3] initscript: sort by startup Jonatan Schlag
  2023-04-08  8:10 ` [PATCH 3/3] initscripts: Sort rootfiles Jonatan Schlag
@ 2023-04-11 10:23 ` Michael Tremer
  2 siblings, 0 replies; 6+ messages in thread
From: Michael Tremer @ 2023-04-11 10:23 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 11850 bytes --]

I suppose there are no functional changes to this patchset.

This is only to satisfy your own CDO (which is OCD in alphabetical order).

Reviewed-by: Michael Tremer <michael.tremer(a)ipfire.org>

> On 8 Apr 2023, at 09:10, Jonatan Schlag <jonatan.schlag(a)ipfire.org> wrote:
> 
> As some lines are already now to long, this increase the indention to
> improve readablitity.
> 
> Signed-off-by: Jonatan Schlag <jonatan.schlag(a)ipfire.org>
> ---
> lfs/initscripts | 182 ++++++++++++++++++++++++------------------------
> 1 file changed, 91 insertions(+), 91 deletions(-)
> 
> diff --git a/lfs/initscripts b/lfs/initscripts
> index 55f0066e5..bee8a6fc6 100644
> --- a/lfs/initscripts
> +++ b/lfs/initscripts
> @@ -91,97 +91,97 @@ $(TARGET) :
> install -v -m 755 $$i /etc/rc.d/helper/; \
> done
> 
> - ln -sf ../init.d/sysklogd    /etc/rc.d/rc0.d/K90sysklogd
> - ln -sf ../init.d/sendsignals /etc/rc.d/rc0.d/S60sendsignals
> - ln -sf ../init.d/localnet    /etc/rc.d/rc0.d/S70localnet
> - ln -sf ../init.d/mountfs     /etc/rc.d/rc0.d/S80mountfs
> - ln -sf ../init.d/swap        /etc/rc.d/rc0.d/S90swap
> - ln -sf ../init.d/halt        /etc/rc.d/rc0.d/S99halt
> - ln -sf ../init.d/sysklogd    /etc/rc.d/rc3.d/S10sysklogd
> - ln -sf ../init.d/smartenabler /etc/rc.d/rc3.d/S19smartenabler
> - ln -sf ../init.d/messagebus  /etc/rc.d/rc3.d/S15messagebus
> - ln -sf ../init.d/messagebus  /etc/rc.d/rc0.d/K85messagebus
> - ln -sf ../init.d/messagebus  /etc/rc.d/rc6.d/K85messagebus
> - ln -sf ../init.d/cpufreq     /etc/rc.d/rc3.d/S18cpufreq
> - ln -sf ../init.d/sysklogd    /etc/rc.d/rc6.d/K90sysklogd
> - ln -sf ../init.d/sendsignals /etc/rc.d/rc6.d/S60sendsignals
> - ln -sf ../init.d/mountfs     /etc/rc.d/rc6.d/S70mountfs
> - ln -sf ../init.d/swap        /etc/rc.d/rc6.d/S80swap
> - ln -sf ../init.d/localnet    /etc/rc.d/rc6.d/S90localnet
> - ln -sf ../init.d/reboot      /etc/rc.d/rc6.d/S99reboot
> - ln -sf ../init.d/sshd        /etc/rc.d/rc0.d/K30sshd
> - ln -sf ../init.d/sshd        /etc/rc.d/rc3.d/S30sshd
> - ln -sf ../init.d/sshd        /etc/rc.d/rc6.d/K30sshd
> - ln -sf ../init.d/apache      /etc/rc.d/rc0.d/K28apache
> - ln -sf ../init.d/apache      /etc/rc.d/rc3.d/S32apache
> - ln -sf ../init.d/apache      /etc/rc.d/rc6.d/K28apache
> - ln -sf ../init.d/fcron       /etc/rc.d/rc0.d/K08fcron
> - ln -sf ../init.d/fcron       /etc/rc.d/rc3.d/S40fcron
> - ln -sf ../init.d/fcron       /etc/rc.d/rc6.d/K08fcron
> - ln -sf ../init.d/suricata    /etc/rc.d/rc0.d/K78suricata
> - ln -sf ../init.d/suricata    /etc/rc.d/rc6.d/K78suricata
> - ln -sf ../init.d/network     /etc/rc.d/rc0.d/K80network
> - ln -sf ../init.d/network     /etc/rc.d/rc3.d/S20network
> - ln -sf ../init.d/network     /etc/rc.d/rc6.d/K80network
> - ln -sf ../init.d/unbound     /etc/rc.d/rc0.d/K86unbound
> - ln -sf ../init.d/unbound     /etc/rc.d/rc3.d/S11unbound
> - ln -sf ../init.d/unbound     /etc/rc.d/rc6.d/K86unbound
> - ln -sf ../../sysconfig/rc.local /etc/rc.d/rc3.d/S98rc.local
> - ln -sf ../init.d/client175   /etc/rc.d/rc0.d/K34client175
> - ln -sf ../init.d/client175   /etc/rc.d/rc3.d/S66client175
> - ln -sf ../init.d/client175   /etc/rc.d/rc6.d/K34client175
> - ln -sf ../init.d/sslh        /etc/rc.d/rc3.d/S98sslh
> - ln -sf ../init.d/sslh        /etc/rc.d/rc0.d/K02sslh
> - ln -sf ../init.d/sslh        /etc/rc.d/rc6.d/K02sslh
> - ln -sf ../init.d/vdradmin    /etc/rc.d/rc3.d/S99vdradmin
> - ln -sf ../init.d/vdradmin    /etc/rc.d/rc0.d/K01vdradmin
> - ln -sf ../init.d/vdradmin    /etc/rc.d/rc6.d/K01vdradmin
> - ln -sf ../init.d/motion      /etc/rc.d/rc3.d/S99motion
> - ln -sf ../init.d/motion      /etc/rc.d/rc0.d/K01motion
> - ln -sf ../init.d/motion      /etc/rc.d/rc6.d/K01motion
> - ln -sf ../init.d/imspetor    /etc/rc.d/rc3.d/S99imspetor
> - ln -sf ../init.d/imspetor    /etc/rc.d/rc0.d/K01imspetor
> - ln -sf ../init.d/imspetor    /etc/rc.d/rc6.d/K01imspetor
> - ln -sf  ../init.d/cyrus-sasl /etc/rc.d/rc0.d/K49cyrus-sasl
> - ln -sf  ../init.d/cyrus-sasl /etc/rc.d/rc3.d/S24cyrus-sasl
> - ln -sf  ../init.d/cyrus-sasl /etc/rc.d/rc6.d/K49cyrus-sasl
> - ln -sf ../init.d/leds        /etc/rc.d/rc0.d/K79leds
> - ln -sf ../init.d/leds        /etc/rc.d/rc3.d/S21leds
> - ln -sf ../init.d/leds        /etc/rc.d/rc6.d/K79leds
> - ln -sf ../init.d/fireinfo    /etc/rc.d/rc3.d/S15fireinfo
> - ln -sf ../init.d/conntrackd  /etc/rc.d/rc0.d/K77conntrackd
> - ln -sf ../init.d/conntrackd  /etc/rc.d/rc3.d/S22conntrackd
> - ln -sf ../init.d/conntrackd  /etc/rc.d/rc6.d/K77conntrackd
> - ln -sf ../init.d/mountkernfs /etc/rc.d/rcsysinit.d/S00mountkernfs
> - ln -sf ../init.d/sysctl      /etc/rc.d/rcsysinit.d/S01sysctl
> - ln -sf ../init.d/modules     /etc/rc.d/rcsysinit.d/S05modules
> - ln -sf ../init.d/lvmetad     /etc/rc.d/rcsysinit.d/S09lvmetad
> - ln -sf ../init.d/udev        /etc/rc.d/rcsysinit.d/S10udev
> - ln -sf ../init.d/waitdrives  /etc/rc.d/rcsysinit.d/S19waitdrives
> - ln -sf ../init.d/partresize  /etc/rc.d/rcsysinit.d/S25partresize
> - ln -sf ../init.d/checkfs     /etc/rc.d/rcsysinit.d/S30checkfs
> - ln -sf ../init.d/mountfs     /etc/rc.d/rcsysinit.d/S40mountfs
> - ln -sf ../init.d/swap        /etc/rc.d/rcsysinit.d/S41swap
> - ln -sf ../init.d/fsresize    /etc/rc.d/rcsysinit.d/S42fsresize
> - ln -sf ../init.d/mounttmpfs  /etc/rc.d/rcsysinit.d/S43mounttmpfs
> - ln -sf ../init.d/smt         /etc/rc.d/rcsysinit.d/S44smt
> - ln -sf ../init.d/udev_retry  /etc/rc.d/rcsysinit.d/S45udev_retry
> - ln -sf ../init.d/cleanfs     /etc/rc.d/rcsysinit.d/S50cleanfs
> - ln -sf ../init.d/setclock    /etc/rc.d/rcsysinit.d/S60setclock
> - ln -sf ../init.d/setclock    /etc/rc.d/rc0.d/K47setclock
> - ln -sf ../init.d/setclock    /etc/rc.d/rc6.d/K47setclock
> - ln -sf ../init.d/console     /etc/rc.d/rcsysinit.d/S70console
> - ln -sf ../init.d/pakfire     /etc/rc.d/rcsysinit.d/S71pakfire
> - ln -sf ../init.d/cloud-init  /etc/rc.d/rcsysinit.d/S74cloud-init
> - ln -sf ../init.d/firstsetup  /etc/rc.d/rcsysinit.d/S75firstsetup
> - ln -sf ../init.d/localnet    /etc/rc.d/rcsysinit.d/S80localnet
> - ln -sf ../init.d/firewall    /etc/rc.d/rcsysinit.d/S85firewall
> - ln -sf ../init.d/vnstat      /etc/rc.d/rc3.d/S01vnstat
> - ln -sf ../init.d/vnstat      /etc/rc.d/rc0.d/K51vnstat
> - ln -sf ../init.d/vnstat      /etc/rc.d/rc6.d/K51vnstat
> - ln -sf ../init.d/wlanclient  /etc/rc.d/rc0.d/K82wlanclient
> - ln -sf ../init.d/wlanclient  /etc/rc.d/rc3.d/S19wlanclient
> - ln -sf ../init.d/wlanclient  /etc/rc.d/rc6.d/K82wlanclient
> + ln -sf ../init.d/sysklogd /etc/rc.d/rc0.d/K90sysklogd
> + ln -sf ../init.d/sendsignals /etc/rc.d/rc0.d/S60sendsignals
> + ln -sf ../init.d/localnet /etc/rc.d/rc0.d/S70localnet
> + ln -sf ../init.d/mountfs /etc/rc.d/rc0.d/S80mountfs
> + ln -sf ../init.d/swap /etc/rc.d/rc0.d/S90swap
> + ln -sf ../init.d/halt /etc/rc.d/rc0.d/S99halt
> + ln -sf ../init.d/sysklogd /etc/rc.d/rc3.d/S10sysklogd
> + ln -sf ../init.d/smartenabler /etc/rc.d/rc3.d/S19smartenabler
> + ln -sf ../init.d/messagebus /etc/rc.d/rc3.d/S15messagebus
> + ln -sf ../init.d/messagebus /etc/rc.d/rc0.d/K85messagebus
> + ln -sf ../init.d/messagebus /etc/rc.d/rc6.d/K85messagebus
> + ln -sf ../init.d/cpufreq /etc/rc.d/rc3.d/S18cpufreq
> + ln -sf ../init.d/sysklogd /etc/rc.d/rc6.d/K90sysklogd
> + ln -sf ../init.d/sendsignals /etc/rc.d/rc6.d/S60sendsignals
> + ln -sf ../init.d/mountfs /etc/rc.d/rc6.d/S70mountfs
> + ln -sf ../init.d/swap /etc/rc.d/rc6.d/S80swap
> + ln -sf ../init.d/localnet /etc/rc.d/rc6.d/S90localnet
> + ln -sf ../init.d/reboot /etc/rc.d/rc6.d/S99reboot
> + ln -sf ../init.d/sshd /etc/rc.d/rc0.d/K30sshd
> + ln -sf ../init.d/sshd /etc/rc.d/rc3.d/S30sshd
> + ln -sf ../init.d/sshd /etc/rc.d/rc6.d/K30sshd
> + ln -sf ../init.d/apache /etc/rc.d/rc0.d/K28apache
> + ln -sf ../init.d/apache /etc/rc.d/rc3.d/S32apache
> + ln -sf ../init.d/apache /etc/rc.d/rc6.d/K28apache
> + ln -sf ../init.d/fcron /etc/rc.d/rc0.d/K08fcron
> + ln -sf ../init.d/fcron /etc/rc.d/rc3.d/S40fcron
> + ln -sf ../init.d/fcron /etc/rc.d/rc6.d/K08fcron
> + ln -sf ../init.d/suricata /etc/rc.d/rc0.d/K78suricata
> + ln -sf ../init.d/suricata /etc/rc.d/rc6.d/K78suricata
> + ln -sf ../init.d/network /etc/rc.d/rc0.d/K80network
> + ln -sf ../init.d/network /etc/rc.d/rc3.d/S20network
> + ln -sf ../init.d/network /etc/rc.d/rc6.d/K80network
> + ln -sf ../init.d/unbound /etc/rc.d/rc0.d/K86unbound
> + ln -sf ../init.d/unbound /etc/rc.d/rc3.d/S11unbound
> + ln -sf ../init.d/unbound /etc/rc.d/rc6.d/K86unbound
> + ln -sf ../../sysconfig/rc.local /etc/rc.d/rc3.d/S98rc.local
> + ln -sf ../init.d/client175 /etc/rc.d/rc0.d/K34client175
> + ln -sf ../init.d/client175 /etc/rc.d/rc3.d/S66client175
> + ln -sf ../init.d/client175 /etc/rc.d/rc6.d/K34client175
> + ln -sf ../init.d/sslh /etc/rc.d/rc3.d/S98sslh
> + ln -sf ../init.d/sslh /etc/rc.d/rc0.d/K02sslh
> + ln -sf ../init.d/sslh /etc/rc.d/rc6.d/K02sslh
> + ln -sf ../init.d/vdradmin /etc/rc.d/rc3.d/S99vdradmin
> + ln -sf ../init.d/vdradmin /etc/rc.d/rc0.d/K01vdradmin
> + ln -sf ../init.d/vdradmin /etc/rc.d/rc6.d/K01vdradmin
> + ln -sf ../init.d/motion /etc/rc.d/rc3.d/S99motion
> + ln -sf ../init.d/motion /etc/rc.d/rc0.d/K01motion
> + ln -sf ../init.d/motion /etc/rc.d/rc6.d/K01motion
> + ln -sf ../init.d/imspetor /etc/rc.d/rc3.d/S99imspetor
> + ln -sf ../init.d/imspetor /etc/rc.d/rc0.d/K01imspetor
> + ln -sf ../init.d/imspetor /etc/rc.d/rc6.d/K01imspetor
> + ln -sf  ../init.d/cyrus-sasl /etc/rc.d/rc0.d/K49cyrus-sasl
> + ln -sf  ../init.d/cyrus-sasl /etc/rc.d/rc3.d/S24cyrus-sasl
> + ln -sf  ../init.d/cyrus-sasl /etc/rc.d/rc6.d/K49cyrus-sasl
> + ln -sf ../init.d/leds /etc/rc.d/rc0.d/K79leds
> + ln -sf ../init.d/leds /etc/rc.d/rc3.d/S21leds
> + ln -sf ../init.d/leds /etc/rc.d/rc6.d/K79leds
> + ln -sf ../init.d/fireinfo /etc/rc.d/rc3.d/S15fireinfo
> + ln -sf ../init.d/conntrackd /etc/rc.d/rc0.d/K77conntrackd
> + ln -sf ../init.d/conntrackd /etc/rc.d/rc3.d/S22conntrackd
> + ln -sf ../init.d/conntrackd /etc/rc.d/rc6.d/K77conntrackd
> + ln -sf ../init.d/mountkernfs /etc/rc.d/rcsysinit.d/S00mountkernfs
> + ln -sf ../init.d/sysctl /etc/rc.d/rcsysinit.d/S01sysctl
> + ln -sf ../init.d/modules /etc/rc.d/rcsysinit.d/S05modules
> + ln -sf ../init.d/lvmetad /etc/rc.d/rcsysinit.d/S09lvmetad
> + ln -sf ../init.d/udev /etc/rc.d/rcsysinit.d/S10udev
> + ln -sf ../init.d/waitdrives /etc/rc.d/rcsysinit.d/S19waitdrives
> + ln -sf ../init.d/partresize /etc/rc.d/rcsysinit.d/S25partresize
> + ln -sf ../init.d/checkfs /etc/rc.d/rcsysinit.d/S30checkfs
> + ln -sf ../init.d/mountfs /etc/rc.d/rcsysinit.d/S40mountfs
> + ln -sf ../init.d/swap /etc/rc.d/rcsysinit.d/S41swap
> + ln -sf ../init.d/fsresize /etc/rc.d/rcsysinit.d/S42fsresize
> + ln -sf ../init.d/mounttmpfs /etc/rc.d/rcsysinit.d/S43mounttmpfs
> + ln -sf ../init.d/smt /etc/rc.d/rcsysinit.d/S44smt
> + ln -sf ../init.d/udev_retry /etc/rc.d/rcsysinit.d/S45udev_retry
> + ln -sf ../init.d/cleanfs /etc/rc.d/rcsysinit.d/S50cleanfs
> + ln -sf ../init.d/setclock /etc/rc.d/rcsysinit.d/S60setclock
> + ln -sf ../init.d/setclock /etc/rc.d/rc0.d/K47setclock
> + ln -sf ../init.d/setclock /etc/rc.d/rc6.d/K47setclock
> + ln -sf ../init.d/console /etc/rc.d/rcsysinit.d/S70console
> + ln -sf ../init.d/pakfire /etc/rc.d/rcsysinit.d/S71pakfire
> + ln -sf ../init.d/cloud-init /etc/rc.d/rcsysinit.d/S74cloud-init
> + ln -sf ../init.d/firstsetup /etc/rc.d/rcsysinit.d/S75firstsetup
> + ln -sf ../init.d/localnet /etc/rc.d/rcsysinit.d/S80localnet
> + ln -sf ../init.d/firewall /etc/rc.d/rcsysinit.d/S85firewall
> + ln -sf ../init.d/vnstat /etc/rc.d/rc3.d/S01vnstat
> + ln -sf ../init.d/vnstat /etc/rc.d/rc0.d/K51vnstat
> + ln -sf ../init.d/vnstat /etc/rc.d/rc6.d/K51vnstat
> + ln -sf ../init.d/wlanclient /etc/rc.d/rc0.d/K82wlanclient
> + ln -sf ../init.d/wlanclient /etc/rc.d/rc3.d/S19wlanclient
> + ln -sf ../init.d/wlanclient /etc/rc.d/rc6.d/K82wlanclient
> 
> ln -sf ../../../../../usr/local/bin/qosctrl \
> /etc/rc.d/init.d/networking/red.up/24-RS-qos
> -- 
> 2.30.2
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/3] initscript: sort by startup
  2023-04-08  8:10 ` [PATCH 2/3] initscript: sort by startup Jonatan Schlag
@ 2023-04-11 10:23   ` Michael Tremer
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Tremer @ 2023-04-11 10:23 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 8498 bytes --]

Reviewed-by: Michael Tremer <michael.tremer(a)ipfire.org>

> On 8 Apr 2023, at 09:10, Jonatan Schlag <jonatan.schlag(a)ipfire.org> wrote:
> 
> As the list of symbolic links was not sorted at all I sorted it now by
> the order of start or stop.
> This seems to be the most useful way as you can now understand the
> startup sequence from this file and add/remove scripts at a useful
> place.
> 
> Signed-off-by: Jonatan Schlag <jonatan.schlag(a)ipfire.org>
> ---
> lfs/initscripts | 105 +++++++++++++++++++++++++-----------------------
> 1 file changed, 54 insertions(+), 51 deletions(-)
> 
> diff --git a/lfs/initscripts b/lfs/initscripts
> index bee8a6fc6..9314ff063 100644
> --- a/lfs/initscripts
> +++ b/lfs/initscripts
> @@ -91,67 +91,78 @@ $(TARGET) :
> install -v -m 755 $$i /etc/rc.d/helper/; \
> done
> 
> + ln -sf ../init.d/imspetor /etc/rc.d/rc0.d/K01imspetor
> + ln -sf ../init.d/motion /etc/rc.d/rc0.d/K01motion
> + ln -sf ../init.d/vdradmin /etc/rc.d/rc0.d/K01vdradmin
> + ln -sf ../init.d/sslh /etc/rc.d/rc0.d/K02sslh
> + ln -sf ../init.d/fcron /etc/rc.d/rc0.d/K08fcron
> + ln -sf ../init.d/apache /etc/rc.d/rc0.d/K28apache
> + ln -sf ../init.d/sshd /etc/rc.d/rc0.d/K30sshd
> + ln -sf ../init.d/client175 /etc/rc.d/rc0.d/K34client175
> + ln -sf ../init.d/setclock /etc/rc.d/rc0.d/K47setclock
> + ln -sf  ../init.d/cyrus-sasl /etc/rc.d/rc0.d/K49cyrus-sasl
> + ln -sf ../init.d/vnstat /etc/rc.d/rc0.d/K51vnstat
> + ln -sf ../init.d/conntrackd /etc/rc.d/rc0.d/K77conntrackd
> + ln -sf ../init.d/suricata /etc/rc.d/rc0.d/K78suricata
> + ln -sf ../init.d/leds /etc/rc.d/rc0.d/K79leds
> + ln -sf ../init.d/network /etc/rc.d/rc0.d/K80network
> + ln -sf ../init.d/wlanclient /etc/rc.d/rc0.d/K82wlanclient
> + ln -sf ../init.d/messagebus /etc/rc.d/rc0.d/K85messagebus
> + ln -sf ../init.d/unbound /etc/rc.d/rc0.d/K86unbound
> ln -sf ../init.d/sysklogd /etc/rc.d/rc0.d/K90sysklogd
> ln -sf ../init.d/sendsignals /etc/rc.d/rc0.d/S60sendsignals
> ln -sf ../init.d/localnet /etc/rc.d/rc0.d/S70localnet
> ln -sf ../init.d/mountfs /etc/rc.d/rc0.d/S80mountfs
> ln -sf ../init.d/swap /etc/rc.d/rc0.d/S90swap
> ln -sf ../init.d/halt /etc/rc.d/rc0.d/S99halt
> +
> + ln -sf ../init.d/vnstat /etc/rc.d/rc3.d/S01vnstat
> ln -sf ../init.d/sysklogd /etc/rc.d/rc3.d/S10sysklogd
> - ln -sf ../init.d/smartenabler /etc/rc.d/rc3.d/S19smartenabler
> + ln -sf ../init.d/unbound /etc/rc.d/rc3.d/S11unbound
> + ln -sf ../init.d/fireinfo /etc/rc.d/rc3.d/S15fireinfo
> ln -sf ../init.d/messagebus /etc/rc.d/rc3.d/S15messagebus
> - ln -sf ../init.d/messagebus /etc/rc.d/rc0.d/K85messagebus
> - ln -sf ../init.d/messagebus /etc/rc.d/rc6.d/K85messagebus
> ln -sf ../init.d/cpufreq /etc/rc.d/rc3.d/S18cpufreq
> - ln -sf ../init.d/sysklogd /etc/rc.d/rc6.d/K90sysklogd
> - ln -sf ../init.d/sendsignals /etc/rc.d/rc6.d/S60sendsignals
> - ln -sf ../init.d/mountfs /etc/rc.d/rc6.d/S70mountfs
> - ln -sf ../init.d/swap /etc/rc.d/rc6.d/S80swap
> - ln -sf ../init.d/localnet /etc/rc.d/rc6.d/S90localnet
> - ln -sf ../init.d/reboot /etc/rc.d/rc6.d/S99reboot
> - ln -sf ../init.d/sshd /etc/rc.d/rc0.d/K30sshd
> + ln -sf ../init.d/smartenabler /etc/rc.d/rc3.d/S19smartenabler
> + ln -sf ../init.d/wlanclient /etc/rc.d/rc3.d/S19wlanclient
> + ln -sf ../init.d/network /etc/rc.d/rc3.d/S20network
> + ln -sf ../init.d/leds /etc/rc.d/rc3.d/S21leds
> + ln -sf ../init.d/conntrackd /etc/rc.d/rc3.d/S22conntrackd
> + ln -sf  ../init.d/cyrus-sasl /etc/rc.d/rc3.d/S24cyrus-sasl
> ln -sf ../init.d/sshd /etc/rc.d/rc3.d/S30sshd
> - ln -sf ../init.d/sshd /etc/rc.d/rc6.d/K30sshd
> - ln -sf ../init.d/apache /etc/rc.d/rc0.d/K28apache
> ln -sf ../init.d/apache /etc/rc.d/rc3.d/S32apache
> - ln -sf ../init.d/apache /etc/rc.d/rc6.d/K28apache
> - ln -sf ../init.d/fcron /etc/rc.d/rc0.d/K08fcron
> ln -sf ../init.d/fcron /etc/rc.d/rc3.d/S40fcron
> - ln -sf ../init.d/fcron /etc/rc.d/rc6.d/K08fcron
> - ln -sf ../init.d/suricata /etc/rc.d/rc0.d/K78suricata
> - ln -sf ../init.d/suricata /etc/rc.d/rc6.d/K78suricata
> - ln -sf ../init.d/network /etc/rc.d/rc0.d/K80network
> - ln -sf ../init.d/network /etc/rc.d/rc3.d/S20network
> - ln -sf ../init.d/network /etc/rc.d/rc6.d/K80network
> - ln -sf ../init.d/unbound /etc/rc.d/rc0.d/K86unbound
> - ln -sf ../init.d/unbound /etc/rc.d/rc3.d/S11unbound
> - ln -sf ../init.d/unbound /etc/rc.d/rc6.d/K86unbound
> - ln -sf ../../sysconfig/rc.local /etc/rc.d/rc3.d/S98rc.local
> - ln -sf ../init.d/client175 /etc/rc.d/rc0.d/K34client175
> ln -sf ../init.d/client175 /etc/rc.d/rc3.d/S66client175
> - ln -sf ../init.d/client175 /etc/rc.d/rc6.d/K34client175
> + ln -sf ../../sysconfig/rc.local /etc/rc.d/rc3.d/S98rc.local
> ln -sf ../init.d/sslh /etc/rc.d/rc3.d/S98sslh
> - ln -sf ../init.d/sslh /etc/rc.d/rc0.d/K02sslh
> - ln -sf ../init.d/sslh /etc/rc.d/rc6.d/K02sslh
> - ln -sf ../init.d/vdradmin /etc/rc.d/rc3.d/S99vdradmin
> - ln -sf ../init.d/vdradmin /etc/rc.d/rc0.d/K01vdradmin
> - ln -sf ../init.d/vdradmin /etc/rc.d/rc6.d/K01vdradmin
> - ln -sf ../init.d/motion /etc/rc.d/rc3.d/S99motion
> - ln -sf ../init.d/motion /etc/rc.d/rc0.d/K01motion
> - ln -sf ../init.d/motion /etc/rc.d/rc6.d/K01motion
> ln -sf ../init.d/imspetor /etc/rc.d/rc3.d/S99imspetor
> - ln -sf ../init.d/imspetor /etc/rc.d/rc0.d/K01imspetor
> + ln -sf ../init.d/motion /etc/rc.d/rc3.d/S99motion
> + ln -sf ../init.d/vdradmin /etc/rc.d/rc3.d/S99vdradmin
> +
> ln -sf ../init.d/imspetor /etc/rc.d/rc6.d/K01imspetor
> - ln -sf  ../init.d/cyrus-sasl /etc/rc.d/rc0.d/K49cyrus-sasl
> - ln -sf  ../init.d/cyrus-sasl /etc/rc.d/rc3.d/S24cyrus-sasl
> + ln -sf ../init.d/motion /etc/rc.d/rc6.d/K01motion
> + ln -sf ../init.d/vdradmin /etc/rc.d/rc6.d/K01vdradmin
> + ln -sf ../init.d/sslh /etc/rc.d/rc6.d/K02sslh
> + ln -sf ../init.d/fcron /etc/rc.d/rc6.d/K08fcron
> + ln -sf ../init.d/apache /etc/rc.d/rc6.d/K28apache
> + ln -sf ../init.d/sshd /etc/rc.d/rc6.d/K30sshd
> + ln -sf ../init.d/client175 /etc/rc.d/rc6.d/K34client175
> + ln -sf ../init.d/setclock /etc/rc.d/rc6.d/K47setclock
> ln -sf  ../init.d/cyrus-sasl /etc/rc.d/rc6.d/K49cyrus-sasl
> - ln -sf ../init.d/leds /etc/rc.d/rc0.d/K79leds
> - ln -sf ../init.d/leds /etc/rc.d/rc3.d/S21leds
> - ln -sf ../init.d/leds /etc/rc.d/rc6.d/K79leds
> - ln -sf ../init.d/fireinfo /etc/rc.d/rc3.d/S15fireinfo
> - ln -sf ../init.d/conntrackd /etc/rc.d/rc0.d/K77conntrackd
> - ln -sf ../init.d/conntrackd /etc/rc.d/rc3.d/S22conntrackd
> + ln -sf ../init.d/vnstat /etc/rc.d/rc6.d/K51vnstat
> ln -sf ../init.d/conntrackd /etc/rc.d/rc6.d/K77conntrackd
> + ln -sf ../init.d/suricata /etc/rc.d/rc6.d/K78suricata
> + ln -sf ../init.d/leds /etc/rc.d/rc6.d/K79leds
> + ln -sf ../init.d/network /etc/rc.d/rc6.d/K80network
> + ln -sf ../init.d/wlanclient /etc/rc.d/rc6.d/K82wlanclient
> + ln -sf ../init.d/messagebus /etc/rc.d/rc6.d/K85messagebus
> + ln -sf ../init.d/unbound /etc/rc.d/rc6.d/K86unbound
> + ln -sf ../init.d/sysklogd /etc/rc.d/rc6.d/K90sysklogd
> + ln -sf ../init.d/sendsignals /etc/rc.d/rc6.d/S60sendsignals
> + ln -sf ../init.d/mountfs /etc/rc.d/rc6.d/S70mountfs
> + ln -sf ../init.d/swap /etc/rc.d/rc6.d/S80swap
> + ln -sf ../init.d/localnet /etc/rc.d/rc6.d/S90localnet
> + ln -sf ../init.d/reboot /etc/rc.d/rc6.d/S99reboot
> +
> ln -sf ../init.d/mountkernfs /etc/rc.d/rcsysinit.d/S00mountkernfs
> ln -sf ../init.d/sysctl /etc/rc.d/rcsysinit.d/S01sysctl
> ln -sf ../init.d/modules /etc/rc.d/rcsysinit.d/S05modules
> @@ -168,20 +179,12 @@ $(TARGET) :
> ln -sf ../init.d/udev_retry /etc/rc.d/rcsysinit.d/S45udev_retry
> ln -sf ../init.d/cleanfs /etc/rc.d/rcsysinit.d/S50cleanfs
> ln -sf ../init.d/setclock /etc/rc.d/rcsysinit.d/S60setclock
> - ln -sf ../init.d/setclock /etc/rc.d/rc0.d/K47setclock
> - ln -sf ../init.d/setclock /etc/rc.d/rc6.d/K47setclock
> ln -sf ../init.d/console /etc/rc.d/rcsysinit.d/S70console
> ln -sf ../init.d/pakfire /etc/rc.d/rcsysinit.d/S71pakfire
> ln -sf ../init.d/cloud-init /etc/rc.d/rcsysinit.d/S74cloud-init
> ln -sf ../init.d/firstsetup /etc/rc.d/rcsysinit.d/S75firstsetup
> ln -sf ../init.d/localnet /etc/rc.d/rcsysinit.d/S80localnet
> ln -sf ../init.d/firewall /etc/rc.d/rcsysinit.d/S85firewall
> - ln -sf ../init.d/vnstat /etc/rc.d/rc3.d/S01vnstat
> - ln -sf ../init.d/vnstat /etc/rc.d/rc0.d/K51vnstat
> - ln -sf ../init.d/vnstat /etc/rc.d/rc6.d/K51vnstat
> - ln -sf ../init.d/wlanclient /etc/rc.d/rc0.d/K82wlanclient
> - ln -sf ../init.d/wlanclient /etc/rc.d/rc3.d/S19wlanclient
> - ln -sf ../init.d/wlanclient /etc/rc.d/rc6.d/K82wlanclient
> 
> ln -sf ../../../../../usr/local/bin/qosctrl \
> /etc/rc.d/init.d/networking/red.up/24-RS-qos
> -- 
> 2.30.2
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 3/3] initscripts: Sort rootfiles
  2023-04-08  8:10 ` [PATCH 3/3] initscripts: Sort rootfiles Jonatan Schlag
@ 2023-04-11 10:23   ` Michael Tremer
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Tremer @ 2023-04-11 10:23 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 4203 bytes --]

Reviewed-by: Michael Tremer <michael.tremer(a)ipfire.org>

> On 8 Apr 2023, at 09:10, Jonatan Schlag <jonatan.schlag(a)ipfire.org> wrote:
> 
> This simply sorts the rootfiles. Everything should be sorted :-).
> 
> Signed-off-by: Jonatan Schlag <jonatan.schlag(a)ipfire.org>
> ---
> config/rootfiles/common/aarch64/initscripts | 4 ++--
> config/rootfiles/common/riscv64/initscripts | 6 +++---
> config/rootfiles/common/x86_64/initscripts  | 6 +++---
> 3 files changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/config/rootfiles/common/aarch64/initscripts b/config/rootfiles/common/aarch64/initscripts
> index dc6c0fd24..f8a170d7f 100644
> --- a/config/rootfiles/common/aarch64/initscripts
> +++ b/config/rootfiles/common/aarch64/initscripts
> @@ -10,10 +10,10 @@ etc/rc.d/helper/oci-setup
> #etc/rc.d/init.d
> etc/rc.d/init.d/acpid
> etc/rc.d/init.d/apache
> -etc/rc.d/init.d/cloud-init
> etc/rc.d/init.d/beep
> etc/rc.d/init.d/checkfs
> etc/rc.d/init.d/cleanfs
> +etc/rc.d/init.d/cloud-init
> etc/rc.d/init.d/collectd
> etc/rc.d/init.d/connectd
> etc/rc.d/init.d/conntrackd
> @@ -29,8 +29,8 @@ etc/rc.d/init.d/functions
> etc/rc.d/init.d/halt
> etc/rc.d/init.d/ipsec
> etc/rc.d/init.d/leds
> -etc/rc.d/init.d/lvmetad
> etc/rc.d/init.d/localnet
> +etc/rc.d/init.d/lvmetad
> etc/rc.d/init.d/modules
> etc/rc.d/init.d/mountfs
> etc/rc.d/init.d/mountkernfs
> diff --git a/config/rootfiles/common/riscv64/initscripts b/config/rootfiles/common/riscv64/initscripts
> index 1848f8ebc..726929a36 100644
> --- a/config/rootfiles/common/riscv64/initscripts
> +++ b/config/rootfiles/common/riscv64/initscripts
> @@ -10,10 +10,10 @@ etc/rc.d/helper/oci-setup
> #etc/rc.d/init.d
> etc/rc.d/init.d/acpid
> etc/rc.d/init.d/apache
> -etc/rc.d/init.d/cloud-init
> etc/rc.d/init.d/beep
> etc/rc.d/init.d/checkfs
> etc/rc.d/init.d/cleanfs
> +etc/rc.d/init.d/cloud-init
> etc/rc.d/init.d/collectd
> etc/rc.d/init.d/connectd
> etc/rc.d/init.d/conntrackd
> @@ -29,8 +29,8 @@ etc/rc.d/init.d/functions
> etc/rc.d/init.d/halt
> etc/rc.d/init.d/ipsec
> etc/rc.d/init.d/leds
> -etc/rc.d/init.d/lvmetad
> etc/rc.d/init.d/localnet
> +etc/rc.d/init.d/lvmetad
> etc/rc.d/init.d/modules
> etc/rc.d/init.d/mountfs
> etc/rc.d/init.d/mountkernfs
> @@ -120,6 +120,7 @@ etc/rc.d/rc0.d/S99halt
> #etc/rc.d/rc3.d
> etc/rc.d/rc3.d/S01vnstat
> etc/rc.d/rc3.d/S10sysklogd
> +etc/rc.d/rc3.d/S11unbound
> etc/rc.d/rc3.d/S12acpid
> etc/rc.d/rc3.d/S15fireinfo
> #etc/rc.d/rc3.d/S15messagebus
> @@ -127,7 +128,6 @@ etc/rc.d/rc3.d/S15fireinfo
> etc/rc.d/rc3.d/S19smartenabler
> etc/rc.d/rc3.d/S19wlanclient
> etc/rc.d/rc3.d/S20network
> -etc/rc.d/rc3.d/S11unbound
> etc/rc.d/rc3.d/S21leds
> etc/rc.d/rc3.d/S22conntrackd
> etc/rc.d/rc3.d/S24cyrus-sasl
> diff --git a/config/rootfiles/common/x86_64/initscripts b/config/rootfiles/common/x86_64/initscripts
> index 1848f8ebc..726929a36 100644
> --- a/config/rootfiles/common/x86_64/initscripts
> +++ b/config/rootfiles/common/x86_64/initscripts
> @@ -10,10 +10,10 @@ etc/rc.d/helper/oci-setup
> #etc/rc.d/init.d
> etc/rc.d/init.d/acpid
> etc/rc.d/init.d/apache
> -etc/rc.d/init.d/cloud-init
> etc/rc.d/init.d/beep
> etc/rc.d/init.d/checkfs
> etc/rc.d/init.d/cleanfs
> +etc/rc.d/init.d/cloud-init
> etc/rc.d/init.d/collectd
> etc/rc.d/init.d/connectd
> etc/rc.d/init.d/conntrackd
> @@ -29,8 +29,8 @@ etc/rc.d/init.d/functions
> etc/rc.d/init.d/halt
> etc/rc.d/init.d/ipsec
> etc/rc.d/init.d/leds
> -etc/rc.d/init.d/lvmetad
> etc/rc.d/init.d/localnet
> +etc/rc.d/init.d/lvmetad
> etc/rc.d/init.d/modules
> etc/rc.d/init.d/mountfs
> etc/rc.d/init.d/mountkernfs
> @@ -120,6 +120,7 @@ etc/rc.d/rc0.d/S99halt
> #etc/rc.d/rc3.d
> etc/rc.d/rc3.d/S01vnstat
> etc/rc.d/rc3.d/S10sysklogd
> +etc/rc.d/rc3.d/S11unbound
> etc/rc.d/rc3.d/S12acpid
> etc/rc.d/rc3.d/S15fireinfo
> #etc/rc.d/rc3.d/S15messagebus
> @@ -127,7 +128,6 @@ etc/rc.d/rc3.d/S15fireinfo
> etc/rc.d/rc3.d/S19smartenabler
> etc/rc.d/rc3.d/S19wlanclient
> etc/rc.d/rc3.d/S20network
> -etc/rc.d/rc3.d/S11unbound
> etc/rc.d/rc3.d/S21leds
> etc/rc.d/rc3.d/S22conntrackd
> etc/rc.d/rc3.d/S24cyrus-sasl
> -- 
> 2.30.2
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-04-11 10:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-08  8:10 [PATCH 1/3] lfs/initscripts: improve indention Jonatan Schlag
2023-04-08  8:10 ` [PATCH 2/3] initscript: sort by startup Jonatan Schlag
2023-04-11 10:23   ` Michael Tremer
2023-04-08  8:10 ` [PATCH 3/3] initscripts: Sort rootfiles Jonatan Schlag
2023-04-11 10:23   ` Michael Tremer
2023-04-11 10:23 ` [PATCH 1/3] lfs/initscripts: improve indention Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox