diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-05-04 00:10:26 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-05-04 00:10:26 +0000 |
commit | 7bb2006007c1996f33758e41db070252d4d3607f (patch) | |
tree | 3dc03d4f6a8867742961a3dea9ecc96c52d00a10 /layout/rootfs/etc/s6-rc | |
parent | 1202c964c4e91083a3c60b41b9c11e220bfa759d (diff) | |
download | lh-bootstrap-7bb2006007c1996f33758e41db070252d4d3607f.tar.xz |
Make a lean and mean version, as a basis for filling an initramfs
Diffstat (limited to 'layout/rootfs/etc/s6-rc')
195 files changed, 0 insertions, 477 deletions
diff --git a/layout/rootfs/etc/s6-rc/source-base/00/down b/layout/rootfs/etc/s6-rc/source-base/00/down deleted file mode 100644 index 8b13789..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/00/down +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layout/rootfs/etc/s6-rc/source-base/00/type b/layout/rootfs/etc/s6-rc/source-base/00/type deleted file mode 100644 index bdd22a1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/00/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/00/up b/layout/rootfs/etc/s6-rc/source-base/00/up deleted file mode 100644 index 276df76..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/00/up +++ /dev/null @@ -1,2 +0,0 @@ -if { s6-echo "init-stage2 starting." } -s6-hostname %%HOSTNAME%% diff --git a/layout/rootfs/etc/s6-rc/source-base/activate-eth0/contents b/layout/rootfs/etc/s6-rc/source-base/activate-eth0/contents deleted file mode 100644 index 8b13789..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/activate-eth0/contents +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layout/rootfs/etc/s6-rc/source-base/activate-eth0/type b/layout/rootfs/etc/s6-rc/source-base/activate-eth0/type deleted file mode 100644 index 757b422..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/activate-eth0/type +++ /dev/null @@ -1 +0,0 @@ -bundle diff --git a/layout/rootfs/etc/s6-rc/source-base/dnscache-log/consumer-for b/layout/rootfs/etc/s6-rc/source-base/dnscache-log/consumer-for deleted file mode 100644 index e4cac8e..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/dnscache-log/consumer-for +++ /dev/null @@ -1 +0,0 @@ -dnscache diff --git a/layout/rootfs/etc/s6-rc/source-base/dnscache-log/dependencies b/layout/rootfs/etc/s6-rc/source-base/dnscache-log/dependencies deleted file mode 100644 index 24f7403..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/dnscache-log/dependencies +++ /dev/null @@ -1,2 +0,0 @@ -mount-rwfs -mount-syncfs diff --git a/layout/rootfs/etc/s6-rc/source-base/dnscache-log/pipeline-name b/layout/rootfs/etc/s6-rc/source-base/dnscache-log/pipeline-name deleted file mode 100644 index 7627abf..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/dnscache-log/pipeline-name +++ /dev/null @@ -1 +0,0 @@ -dnscache-pipeline diff --git a/layout/rootfs/etc/s6-rc/source-base/dnscache-log/run b/layout/rootfs/etc/s6-rc/source-base/dnscache-log/run deleted file mode 100755 index 4280ed7..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/dnscache-log/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/command/execlineb -P -s6-setuidgid dnslog -exec -c -s6-log t s1000000 n20 /var/log/dnscache diff --git a/layout/rootfs/etc/s6-rc/source-base/dnscache-log/type b/layout/rootfs/etc/s6-rc/source-base/dnscache-log/type deleted file mode 100644 index 5883cff..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/dnscache-log/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/layout/rootfs/etc/s6-rc/source-base/dnscache/dependencies b/layout/rootfs/etc/s6-rc/source-base/dnscache/dependencies deleted file mode 100644 index 6daf05b..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/dnscache/dependencies +++ /dev/null @@ -1 +0,0 @@ -init-lan diff --git a/layout/rootfs/etc/s6-rc/source-base/dnscache/env/CACHESIZE b/layout/rootfs/etc/s6-rc/source-base/dnscache/env/CACHESIZE deleted file mode 100644 index 6820bf1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/dnscache/env/CACHESIZE +++ /dev/null @@ -1 +0,0 @@ -1048576 diff --git a/layout/rootfs/etc/s6-rc/source-base/dnscache/env/IP b/layout/rootfs/etc/s6-rc/source-base/dnscache/env/IP deleted file mode 100644 index 7b9ad53..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/dnscache/env/IP +++ /dev/null @@ -1 +0,0 @@ -127.0.0.1 diff --git a/layout/rootfs/etc/s6-rc/source-base/dnscache/env/IPSEND b/layout/rootfs/etc/s6-rc/source-base/dnscache/env/IPSEND deleted file mode 100644 index d690dc0..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/dnscache/env/IPSEND +++ /dev/null @@ -1 +0,0 @@ -0.0.0.0 diff --git a/layout/rootfs/etc/s6-rc/source-base/dnscache/env/ROOT b/layout/rootfs/etc/s6-rc/source-base/dnscache/env/ROOT deleted file mode 100644 index 1660d01..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/dnscache/env/ROOT +++ /dev/null @@ -1 +0,0 @@ -/etc/dnscache/root diff --git a/layout/rootfs/etc/s6-rc/source-base/dnscache/notification-fd b/layout/rootfs/etc/s6-rc/source-base/dnscache/notification-fd deleted file mode 100644 index 00750ed..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/dnscache/notification-fd +++ /dev/null @@ -1 +0,0 @@ -3 diff --git a/layout/rootfs/etc/s6-rc/source-base/dnscache/producer-for b/layout/rootfs/etc/s6-rc/source-base/dnscache/producer-for deleted file mode 100644 index 68d4773..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/dnscache/producer-for +++ /dev/null @@ -1 +0,0 @@ -dnscache-log diff --git a/layout/rootfs/etc/s6-rc/source-base/dnscache/run b/layout/rootfs/etc/s6-rc/source-base/dnscache/run deleted file mode 100755 index 736b5e6..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/dnscache/run +++ /dev/null @@ -1,13 +0,0 @@ -#!/command/execlineb -P -fdmove -c 2 1 -s6-envuidgid dnscache -s6-envdir env -s6-softlimit -m 4000000 -pipeline -d -{ - redirfd -r 0 /dev/urandom - s6-head -c 128 -} -unexport ! -fdmove 1 3 -dnscache diff --git a/layout/rootfs/etc/s6-rc/source-base/dnscache/type b/layout/rootfs/etc/s6-rc/source-base/dnscache/type deleted file mode 100644 index 5883cff..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/dnscache/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder-log/consumer-for b/layout/rootfs/etc/s6-rc/source-base/fdholder-log/consumer-for deleted file mode 100644 index c9e44ab..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder-log/consumer-for +++ /dev/null @@ -1 +0,0 @@ -fdholder diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder-log/dependencies b/layout/rootfs/etc/s6-rc/source-base/fdholder-log/dependencies deleted file mode 100644 index 24f7403..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder-log/dependencies +++ /dev/null @@ -1,2 +0,0 @@ -mount-rwfs -mount-syncfs diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder-log/pipeline-name b/layout/rootfs/etc/s6-rc/source-base/fdholder-log/pipeline-name deleted file mode 100644 index 44be5e2..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder-log/pipeline-name +++ /dev/null @@ -1 +0,0 @@ -fdholder-pipeline diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder-log/run b/layout/rootfs/etc/s6-rc/source-base/fdholder-log/run deleted file mode 100755 index b0c43d8..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder-log/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/command/execlineb -P -s6-setuidgid fdhlog -exec -c -s6-log t s1000000 n20 /var/log/fdholder diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder-log/type b/layout/rootfs/etc/s6-rc/source-base/fdholder-log/type deleted file mode 100644 index 5883cff..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder-log/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp-log/consumer-for b/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp-log/consumer-for deleted file mode 100644 index dd0fc59..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp-log/consumer-for +++ /dev/null @@ -1 +0,0 @@ -fdholder-tmp diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp-log/dependencies b/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp-log/dependencies deleted file mode 100644 index 24f7403..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp-log/dependencies +++ /dev/null @@ -1,2 +0,0 @@ -mount-rwfs -mount-syncfs diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp-log/pipeline-name b/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp-log/pipeline-name deleted file mode 100644 index 9a7e4fd..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp-log/pipeline-name +++ /dev/null @@ -1 +0,0 @@ -fdholder-tmp-pipeline diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp-log/run b/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp-log/run deleted file mode 100755 index 038491a..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp-log/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/command/execlineb -P -s6-setuidgid fdhlog -exec -c -s6-log t s1000000 n20 /var/log/fdholder-tmp diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp-log/type b/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp-log/type deleted file mode 100644 index 5883cff..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp-log/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/data/rules/uid/0/allow b/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/data/rules/uid/0/allow deleted file mode 100644 index e69de29..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/data/rules/uid/0/allow +++ /dev/null diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/data/rules/uid/0/env/S6_FDHOLDER_GETDUMP b/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/data/rules/uid/0/env/S6_FDHOLDER_GETDUMP deleted file mode 100644 index 8b13789..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/data/rules/uid/0/env/S6_FDHOLDER_GETDUMP +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/data/rules/uid/0/env/S6_FDHOLDER_LIST b/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/data/rules/uid/0/env/S6_FDHOLDER_LIST deleted file mode 100644 index 8b13789..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/data/rules/uid/0/env/S6_FDHOLDER_LIST +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/data/rules/uid/0/env/S6_FDHOLDER_RETRIEVE_REGEX b/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/data/rules/uid/0/env/S6_FDHOLDER_RETRIEVE_REGEX deleted file mode 100644 index 8b13789..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/data/rules/uid/0/env/S6_FDHOLDER_RETRIEVE_REGEX +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/data/rules/uid/0/env/S6_FDHOLDER_SETDUMP b/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/data/rules/uid/0/env/S6_FDHOLDER_SETDUMP deleted file mode 100644 index 8b13789..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/data/rules/uid/0/env/S6_FDHOLDER_SETDUMP +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/data/rules/uid/0/env/S6_FDHOLDER_STORE_REGEX b/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/data/rules/uid/0/env/S6_FDHOLDER_STORE_REGEX deleted file mode 100644 index 8b13789..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/data/rules/uid/0/env/S6_FDHOLDER_STORE_REGEX +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/dependencies b/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/dependencies deleted file mode 100644 index 4daddb7..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/dependencies +++ /dev/null @@ -1 +0,0 @@ -00 diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/notification-fd b/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/notification-fd deleted file mode 100644 index 00750ed..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/notification-fd +++ /dev/null @@ -1 +0,0 @@ -3 diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/producer-for b/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/producer-for deleted file mode 100644 index b1d1c5d..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/producer-for +++ /dev/null @@ -1 +0,0 @@ -fdholder-tmp-log diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/run b/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/run deleted file mode 100755 index d6aa00a..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/run +++ /dev/null @@ -1,6 +0,0 @@ -#!/command/execlineb -P - -fdmove -c 2 1 -s6-envuidgid fdh -fdmove 1 3 -s6-fdholder-daemon -v2 -1 -T 20000 -U -i data/rules -- s diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/type b/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/type deleted file mode 100644 index 5883cff..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder-tmp/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder/data/rules/uid/0/allow b/layout/rootfs/etc/s6-rc/source-base/fdholder/data/rules/uid/0/allow deleted file mode 100644 index e69de29..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder/data/rules/uid/0/allow +++ /dev/null diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder/data/rules/uid/0/env/S6_FDHOLDER_GETDUMP b/layout/rootfs/etc/s6-rc/source-base/fdholder/data/rules/uid/0/env/S6_FDHOLDER_GETDUMP deleted file mode 100644 index 8b13789..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder/data/rules/uid/0/env/S6_FDHOLDER_GETDUMP +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder/data/rules/uid/0/env/S6_FDHOLDER_LIST b/layout/rootfs/etc/s6-rc/source-base/fdholder/data/rules/uid/0/env/S6_FDHOLDER_LIST deleted file mode 100644 index 8b13789..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder/data/rules/uid/0/env/S6_FDHOLDER_LIST +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder/data/rules/uid/0/env/S6_FDHOLDER_RETRIEVE_REGEX b/layout/rootfs/etc/s6-rc/source-base/fdholder/data/rules/uid/0/env/S6_FDHOLDER_RETRIEVE_REGEX deleted file mode 100644 index 8b13789..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder/data/rules/uid/0/env/S6_FDHOLDER_RETRIEVE_REGEX +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder/data/rules/uid/0/env/S6_FDHOLDER_SETDUMP b/layout/rootfs/etc/s6-rc/source-base/fdholder/data/rules/uid/0/env/S6_FDHOLDER_SETDUMP deleted file mode 100644 index 8b13789..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder/data/rules/uid/0/env/S6_FDHOLDER_SETDUMP +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder/data/rules/uid/0/env/S6_FDHOLDER_STORE_REGEX b/layout/rootfs/etc/s6-rc/source-base/fdholder/data/rules/uid/0/env/S6_FDHOLDER_STORE_REGEX deleted file mode 100644 index 8b13789..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder/data/rules/uid/0/env/S6_FDHOLDER_STORE_REGEX +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder/dependencies b/layout/rootfs/etc/s6-rc/source-base/fdholder/dependencies deleted file mode 100644 index 4daddb7..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder/dependencies +++ /dev/null @@ -1 +0,0 @@ -00 diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder/notification-fd b/layout/rootfs/etc/s6-rc/source-base/fdholder/notification-fd deleted file mode 100644 index 00750ed..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder/notification-fd +++ /dev/null @@ -1 +0,0 @@ -3 diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder/producer-for b/layout/rootfs/etc/s6-rc/source-base/fdholder/producer-for deleted file mode 100644 index 11f1ac2..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder/producer-for +++ /dev/null @@ -1 +0,0 @@ -fdholder-log diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder/run b/layout/rootfs/etc/s6-rc/source-base/fdholder/run deleted file mode 100755 index d6aa00a..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder/run +++ /dev/null @@ -1,6 +0,0 @@ -#!/command/execlineb -P - -fdmove -c 2 1 -s6-envuidgid fdh -fdmove 1 3 -s6-fdholder-daemon -v2 -1 -T 20000 -U -i data/rules -- s diff --git a/layout/rootfs/etc/s6-rc/source-base/fdholder/type b/layout/rootfs/etc/s6-rc/source-base/fdholder/type deleted file mode 100644 index 5883cff..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fdholder/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/layout/rootfs/etc/s6-rc/source-base/fifodir-cleanup/dependencies b/layout/rootfs/etc/s6-rc/source-base/fifodir-cleanup/dependencies deleted file mode 100644 index 4daddb7..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fifodir-cleanup/dependencies +++ /dev/null @@ -1 +0,0 @@ -00 diff --git a/layout/rootfs/etc/s6-rc/source-base/fifodir-cleanup/run b/layout/rootfs/etc/s6-rc/source-base/fifodir-cleanup/run deleted file mode 100755 index a2c371b..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fifodir-cleanup/run +++ /dev/null @@ -1,10 +0,0 @@ -#!/command/execlineb -P -fdmove -c 2 1 -if -{ - forbacktickx -p -0 i { s6-ls -0 /run/service } - importas -u i - s6-cleanfifodir /run/service/${i}/event -} -s6-setuidgid nobody -s6-sleep 86400 diff --git a/layout/rootfs/etc/s6-rc/source-base/fifodir-cleanup/type b/layout/rootfs/etc/s6-rc/source-base/fifodir-cleanup/type deleted file mode 100644 index 5883cff..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/fifodir-cleanup/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/layout/rootfs/etc/s6-rc/source-base/init-clock/dependencies b/layout/rootfs/etc/s6-rc/source-base/init-clock/dependencies deleted file mode 100644 index 7988b5d..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-clock/dependencies +++ /dev/null @@ -1,2 +0,0 @@ -activate-eth0 -dnscache diff --git a/layout/rootfs/etc/s6-rc/source-base/init-clock/down b/layout/rootfs/etc/s6-rc/source-base/init-clock/down deleted file mode 100644 index 8b13789..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-clock/down +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layout/rootfs/etc/s6-rc/source-base/init-clock/type b/layout/rootfs/etc/s6-rc/source-base/init-clock/type deleted file mode 100644 index bdd22a1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-clock/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/init-clock/up b/layout/rootfs/etc/s6-rc/source-base/init-clock/up deleted file mode 100644 index 1c7f02c..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-clock/up +++ /dev/null @@ -1,71 +0,0 @@ -#!/command/execlineb -P - -# Get the local country code as well as a few other codes -# for countries all around the world. - -pipeline -{ - s6-setuidgid nobody - foreground - { - s6-envdir /etc/s6-linux-init/env-stage2 - importas -u COUNTRY_CODE COUNTRY_CODE - s6-echo ${COUNTRY_CODE} - } - forx CODE { uk de ru cn kr jp us ca br au il za } - importas -u CODE CODE - s6-echo ${CODE} -} - - -# Suppress duplicates (e.g. if the local country code is in the list). - -pipeline -{ - s6-setuidgid nobody - s6-sort -u -} - - -# Get the IP addresses for some NTP servers in those countries. -# Limit the DNS queries to 30 seconds: if the DNS is slower than -# that, chances are the server isn't good for us anyway. -# All the queries are parallelized, so it's fast. - -pipeline -{ - s6-setuidgid nobody - forstdin -p -d"\n" CODE - importas -u CODE CODE - forx -p I { 0 1 } - importas -u I I - redirfd -w 2 /dev/null - s6-dnsip4 -t 30000 -- ${I}.${CODE}.pool.ntp.org -} - - -# Ask for a NTP exchange with the servers we get. Accept anything. -# If the exchange can't be completed in 5 seconds, kill it. -# All the queries are parallelized. - -pipeline -{ - s6-setuidgid ntp - forstdin -p -d"\n" NTPSERVERIP - importas -u NTPSERVERIP NTPSERVERIP - redirfd -w 2 /dev/null - s6-sntpclock -f -T 5000 ${NTPSERVERIP} -} - - -# Take the first answer we get. - -pipeline -{ - s6-setuidgid nobody - s6-head -Sc 12 -} - -# Update the system clock. Accept anything. - -s6-clockadd -f diff --git a/layout/rootfs/etc/s6-rc/source-base/init-coldplug/dependencies b/layout/rootfs/etc/s6-rc/source-base/init-coldplug/dependencies deleted file mode 100644 index 2820f48..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-coldplug/dependencies +++ /dev/null @@ -1,3 +0,0 @@ -mount-sys -init-dev -mdevd diff --git a/layout/rootfs/etc/s6-rc/source-base/init-coldplug/type b/layout/rootfs/etc/s6-rc/source-base/init-coldplug/type deleted file mode 100644 index bdd22a1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-coldplug/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/init-coldplug/up b/layout/rootfs/etc/s6-rc/source-base/init-coldplug/up deleted file mode 100644 index edc5c1b..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-coldplug/up +++ /dev/null @@ -1 +0,0 @@ -mdevd-coldplug diff --git a/layout/rootfs/etc/s6-rc/source-base/init-dev/dependencies b/layout/rootfs/etc/s6-rc/source-base/init-dev/dependencies deleted file mode 100644 index fc811ee..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-dev/dependencies +++ /dev/null @@ -1,2 +0,0 @@ -init-run -mount-proc diff --git a/layout/rootfs/etc/s6-rc/source-base/init-dev/type b/layout/rootfs/etc/s6-rc/source-base/init-dev/type deleted file mode 100644 index bdd22a1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-dev/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/init-dev/up b/layout/rootfs/etc/s6-rc/source-base/init-dev/up deleted file mode 100644 index 75c622a..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-dev/up +++ /dev/null @@ -1,8 +0,0 @@ -foreground { s6-ln -sf /proc/self/fd /dev } -foreground { s6-ln -sf /proc/kcore /dev/core } -foreground { s6-ln -sf loop0 /dev/loop } -foreground { s6-ln -sf /run/shm /dev } -foreground { s6-ln -sf fd/0 /dev/stdin } -foreground { s6-ln -sf fd/1 /dev/stdout } -foreground { s6-ln -sf fd/2 /dev/stderr } -exit 0 diff --git a/layout/rootfs/etc/s6-rc/source-base/init-eth0/dependencies b/layout/rootfs/etc/s6-rc/source-base/init-eth0/dependencies deleted file mode 100644 index 79607c6..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-eth0/dependencies +++ /dev/null @@ -1,2 +0,0 @@ -init-sysctl -mount-cgroups diff --git a/layout/rootfs/etc/s6-rc/source-base/init-eth0/down b/layout/rootfs/etc/s6-rc/source-base/init-eth0/down deleted file mode 100644 index fd3dae2..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-eth0/down +++ /dev/null @@ -1 +0,0 @@ -ip link set dev eth0 down diff --git a/layout/rootfs/etc/s6-rc/source-base/init-eth0/type b/layout/rootfs/etc/s6-rc/source-base/init-eth0/type deleted file mode 100644 index bdd22a1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-eth0/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/init-eth0/up b/layout/rootfs/etc/s6-rc/source-base/init-eth0/up deleted file mode 100644 index 99b451e..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-eth0/up +++ /dev/null @@ -1,2 +0,0 @@ -foreground { modprobe %%NETMODULE%% } -ip link set dev eth0 up diff --git a/layout/rootfs/etc/s6-rc/source-base/init-fds/dependencies b/layout/rootfs/etc/s6-rc/source-base/init-fds/dependencies deleted file mode 100644 index c9e44ab..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-fds/dependencies +++ /dev/null @@ -1 +0,0 @@ -fdholder diff --git a/layout/rootfs/etc/s6-rc/source-base/init-fds/down b/layout/rootfs/etc/s6-rc/source-base/init-fds/down deleted file mode 100644 index 1f2c2c0..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-fds/down +++ /dev/null @@ -1,2 +0,0 @@ -foreground { s6-fdholder-delete /run/service/fdholder/s pipe:r:s6-svscan-log } -exit 0 diff --git a/layout/rootfs/etc/s6-rc/source-base/init-fds/type b/layout/rootfs/etc/s6-rc/source-base/init-fds/type deleted file mode 100644 index bdd22a1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-fds/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/init-fds/up b/layout/rootfs/etc/s6-rc/source-base/init-fds/up deleted file mode 100644 index e290556..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-fds/up +++ /dev/null @@ -1,2 +0,0 @@ -redirfd -r 0 /run/service/s6-svscan-log/fifo -s6-fdholder-store /run/service/fdholder/s pipe:r:s6-svscan-log diff --git a/layout/rootfs/etc/s6-rc/source-base/init-lan/dependencies b/layout/rootfs/etc/s6-rc/source-base/init-lan/dependencies deleted file mode 100644 index 79607c6..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-lan/dependencies +++ /dev/null @@ -1,2 +0,0 @@ -init-sysctl -mount-cgroups diff --git a/layout/rootfs/etc/s6-rc/source-base/init-lan/down b/layout/rootfs/etc/s6-rc/source-base/init-lan/down deleted file mode 100644 index 8b13789..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-lan/down +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layout/rootfs/etc/s6-rc/source-base/init-lan/type b/layout/rootfs/etc/s6-rc/source-base/init-lan/type deleted file mode 100644 index bdd22a1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-lan/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/init-lan/up b/layout/rootfs/etc/s6-rc/source-base/init-lan/up deleted file mode 100644 index 1e1e4d7..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-lan/up +++ /dev/null @@ -1,3 +0,0 @@ -foreground { modprobe ipv6 } -if { ip addr add 127.0.0.1/8 dev lo } -ip link set dev lo up diff --git a/layout/rootfs/etc/s6-rc/source-base/init-run/dependencies b/layout/rootfs/etc/s6-rc/source-base/init-run/dependencies deleted file mode 100644 index 4daddb7..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-run/dependencies +++ /dev/null @@ -1 +0,0 @@ -00 diff --git a/layout/rootfs/etc/s6-rc/source-base/init-run/down b/layout/rootfs/etc/s6-rc/source-base/init-run/down deleted file mode 100644 index 8b13789..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-run/down +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layout/rootfs/etc/s6-rc/source-base/init-run/type b/layout/rootfs/etc/s6-rc/source-base/init-run/type deleted file mode 100644 index bdd22a1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-run/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/init-run/up b/layout/rootfs/etc/s6-rc/source-base/init-run/up deleted file mode 100644 index 29199e0..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-run/up +++ /dev/null @@ -1 +0,0 @@ -s6-chmod 1777 /run/tmp diff --git a/layout/rootfs/etc/s6-rc/source-base/init-sysctl/dependencies b/layout/rootfs/etc/s6-rc/source-base/init-sysctl/dependencies deleted file mode 100644 index 0df58a3..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-sysctl/dependencies +++ /dev/null @@ -1 +0,0 @@ -mount-proc diff --git a/layout/rootfs/etc/s6-rc/source-base/init-sysctl/down b/layout/rootfs/etc/s6-rc/source-base/init-sysctl/down deleted file mode 100644 index 8b13789..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-sysctl/down +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layout/rootfs/etc/s6-rc/source-base/init-sysctl/type b/layout/rootfs/etc/s6-rc/source-base/init-sysctl/type deleted file mode 100644 index bdd22a1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-sysctl/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/init-sysctl/up b/layout/rootfs/etc/s6-rc/source-base/init-sysctl/up deleted file mode 100644 index 9e846f8..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/init-sysctl/up +++ /dev/null @@ -1,6 +0,0 @@ -redirfd -r 0 /etc/sysctl.conf -forstdin -nCd"\n" -- LINE -importas -u LINE LINE -multidefine -C $LINE { CTL VALUE } -redirfd -w 1 /proc/sys/$CTL -s6-echo -- $VALUE diff --git a/layout/rootfs/etc/s6-rc/source-base/klogd-log/consumer-for b/layout/rootfs/etc/s6-rc/source-base/klogd-log/consumer-for deleted file mode 100644 index fd64770..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/klogd-log/consumer-for +++ /dev/null @@ -1 +0,0 @@ -klogd diff --git a/layout/rootfs/etc/s6-rc/source-base/klogd-log/dependencies b/layout/rootfs/etc/s6-rc/source-base/klogd-log/dependencies deleted file mode 100644 index 24f7403..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/klogd-log/dependencies +++ /dev/null @@ -1,2 +0,0 @@ -mount-rwfs -mount-syncfs diff --git a/layout/rootfs/etc/s6-rc/source-base/klogd-log/pipeline-name b/layout/rootfs/etc/s6-rc/source-base/klogd-log/pipeline-name deleted file mode 100644 index cb7ca7b..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/klogd-log/pipeline-name +++ /dev/null @@ -1 +0,0 @@ -klogd-pipeline diff --git a/layout/rootfs/etc/s6-rc/source-base/klogd-log/run b/layout/rootfs/etc/s6-rc/source-base/klogd-log/run deleted file mode 100755 index 90e474b..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/klogd-log/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/command/execlineb -P -s6-setuidgid kllog -exec -c -s6-log t s1000000 n20 /var/log/klogd diff --git a/layout/rootfs/etc/s6-rc/source-base/klogd-log/type b/layout/rootfs/etc/s6-rc/source-base/klogd-log/type deleted file mode 100644 index 5883cff..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/klogd-log/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/layout/rootfs/etc/s6-rc/source-base/klogd/dependencies b/layout/rootfs/etc/s6-rc/source-base/klogd/dependencies deleted file mode 100644 index 0df58a3..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/klogd/dependencies +++ /dev/null @@ -1 +0,0 @@ -mount-proc diff --git a/layout/rootfs/etc/s6-rc/source-base/klogd/producer-for b/layout/rootfs/etc/s6-rc/source-base/klogd/producer-for deleted file mode 100644 index 2f21a8f..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/klogd/producer-for +++ /dev/null @@ -1 +0,0 @@ -klogd-log diff --git a/layout/rootfs/etc/s6-rc/source-base/klogd/run b/layout/rootfs/etc/s6-rc/source-base/klogd/run deleted file mode 100755 index 95dc7e8..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/klogd/run +++ /dev/null @@ -1,6 +0,0 @@ -#!/command/execlineb -P -fdmove -c 2 1 -redirfd -r 0 /proc/kmsg -# s6-setuidgid klog -exec -c -ucspilogd diff --git a/layout/rootfs/etc/s6-rc/source-base/klogd/type b/layout/rootfs/etc/s6-rc/source-base/klogd/type deleted file mode 100644 index 5883cff..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/klogd/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/layout/rootfs/etc/s6-rc/source-base/load-essential-modules/dependencies b/layout/rootfs/etc/s6-rc/source-base/load-essential-modules/dependencies deleted file mode 100644 index f4c707c..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/load-essential-modules/dependencies +++ /dev/null @@ -1 +0,0 @@ -init-sysctl diff --git a/layout/rootfs/etc/s6-rc/source-base/load-essential-modules/down b/layout/rootfs/etc/s6-rc/source-base/load-essential-modules/down deleted file mode 100644 index e69de29..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/load-essential-modules/down +++ /dev/null diff --git a/layout/rootfs/etc/s6-rc/source-base/load-essential-modules/type b/layout/rootfs/etc/s6-rc/source-base/load-essential-modules/type deleted file mode 100644 index bdd22a1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/load-essential-modules/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/load-essential-modules/up b/layout/rootfs/etc/s6-rc/source-base/load-essential-modules/up deleted file mode 100644 index 892d25b..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/load-essential-modules/up +++ /dev/null @@ -1,2 +0,0 @@ -if { modprobe atkbd } -modprobe mousedev diff --git a/layout/rootfs/etc/s6-rc/source-base/mdevd/dependencies b/layout/rootfs/etc/s6-rc/source-base/mdevd/dependencies deleted file mode 100644 index 690f6cf..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mdevd/dependencies +++ /dev/null @@ -1,2 +0,0 @@ -mount-sys -init-dev diff --git a/layout/rootfs/etc/s6-rc/source-base/mdevd/notification-fd b/layout/rootfs/etc/s6-rc/source-base/mdevd/notification-fd deleted file mode 100644 index 00750ed..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mdevd/notification-fd +++ /dev/null @@ -1 +0,0 @@ -3 diff --git a/layout/rootfs/etc/s6-rc/source-base/mdevd/run b/layout/rootfs/etc/s6-rc/source-base/mdevd/run deleted file mode 100755 index 7144bc9..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mdevd/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/command/execlineb -P -exec -c -export PATH /command:/bin -mdevd -D 3 diff --git a/layout/rootfs/etc/s6-rc/source-base/mdevd/type b/layout/rootfs/etc/s6-rc/source-base/mdevd/type deleted file mode 100644 index 5883cff..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mdevd/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/dependencies b/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/dependencies deleted file mode 100644 index 4daddb7..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/dependencies +++ /dev/null @@ -1 +0,0 @@ -00 diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/down b/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/down deleted file mode 100644 index 60450a4..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/down +++ /dev/null @@ -1 +0,0 @@ -s6-umount /sys/fs/cgroup diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/type b/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/type deleted file mode 100644 index bdd22a1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/up b/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/up deleted file mode 100644 index a2f1dd8..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-base/up +++ /dev/null @@ -1,2 +0,0 @@ -if { s6-mkdir -p -m 0755 /sys/fs/cgroup } -s6-mount -wt tmpfs cgroup /sys/fs/cgroup diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-sub/dependencies b/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-sub/dependencies deleted file mode 100644 index b19d47d..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-sub/dependencies +++ /dev/null @@ -1 +0,0 @@ -mount-cgroups-base diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-sub/down b/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-sub/down deleted file mode 100644 index 5bd0e30..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-sub/down +++ /dev/null @@ -1,4 +0,0 @@ -elglob -v -0 CGROUPS /sys/fs/cgroup/* -forx -p i { ${CGROUPS} } -importas -u i i -s6-umount $i diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-sub/type b/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-sub/type deleted file mode 100644 index bdd22a1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-sub/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-sub/up b/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-sub/up deleted file mode 100644 index 0c915da..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-sub/up +++ /dev/null @@ -1,10 +0,0 @@ -redirfd -r 0 /proc/cgroups -pipeline { s6-tail -n +2 } -pipeline { s6-cut -d"\t" -f1 } -pipeline { s6-grep -vF -- devices } -forstdin -d"\n" -- i -importas -u i i -if { s6-mkdir -p /sys/fs/cgroup/${i} } -foreground { s6-mount -t cgroup -o ${i} -- cgroup /sys/fs/cgroup/${i} } -importas -u ? ? -s6-test $? -le 1 diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups/contents b/layout/rootfs/etc/s6-rc/source-base/mount-cgroups/contents deleted file mode 100644 index f72ff6d..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups/contents +++ /dev/null @@ -1,2 +0,0 @@ -mount-cgroups-base -mount-cgroups-sub diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups/type b/layout/rootfs/etc/s6-rc/source-base/mount-cgroups/type deleted file mode 100644 index 757b422..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups/type +++ /dev/null @@ -1 +0,0 @@ -bundle diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-devpts/dependencies b/layout/rootfs/etc/s6-rc/source-base/mount-devpts/dependencies deleted file mode 100644 index c1ee812..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-devpts/dependencies +++ /dev/null @@ -1 +0,0 @@ -init-dev diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-devpts/type b/layout/rootfs/etc/s6-rc/source-base/mount-devpts/type deleted file mode 100644 index bdd22a1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-devpts/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-devpts/up b/layout/rootfs/etc/s6-rc/source-base/mount-devpts/up deleted file mode 100644 index 8c5da6d..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-devpts/up +++ /dev/null @@ -1,4 +0,0 @@ -if { s6-mkdir -p -m 0755 -- /dev/pts } -foreground { s6-mount -wt devpts -o noexec,nosuid,gid=0,mode=0600 devpts /dev/pts } -importas ? ? -s6-test $? -le 1 diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-disks/contents b/layout/rootfs/etc/s6-rc/source-base/mount-disks/contents deleted file mode 100644 index 0131ea6..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-disks/contents +++ /dev/null @@ -1,5 +0,0 @@ -mount-rwfs -mount-syncfs -mount-userfs -mount-stagingfs -mount-swap diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-disks/type b/layout/rootfs/etc/s6-rc/source-base/mount-disks/type deleted file mode 100644 index 757b422..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-disks/type +++ /dev/null @@ -1 +0,0 @@ -bundle diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-proc/dependencies b/layout/rootfs/etc/s6-rc/source-base/mount-proc/dependencies deleted file mode 100644 index 4daddb7..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-proc/dependencies +++ /dev/null @@ -1 +0,0 @@ -00 diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-proc/type b/layout/rootfs/etc/s6-rc/source-base/mount-proc/type deleted file mode 100644 index bdd22a1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-proc/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-proc/up b/layout/rootfs/etc/s6-rc/source-base/mount-proc/up deleted file mode 100644 index 1eeaa8a..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-proc/up +++ /dev/null @@ -1,3 +0,0 @@ -foreground { s6-mount -wt proc proc /proc } -importas ? ? -s6-test $? -le 1 diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-rwfs/dependencies b/layout/rootfs/etc/s6-rc/source-base/mount-rwfs/dependencies deleted file mode 100644 index bee63cb..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-rwfs/dependencies +++ /dev/null @@ -1 +0,0 @@ -init-coldplug diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-rwfs/down b/layout/rootfs/etc/s6-rc/source-base/mount-rwfs/down deleted file mode 100644 index 00b6eb1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-rwfs/down +++ /dev/null @@ -1 +0,0 @@ -s6-umount /mnt/rwfs diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-rwfs/type b/layout/rootfs/etc/s6-rc/source-base/mount-rwfs/type deleted file mode 100644 index bdd22a1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-rwfs/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-rwfs/up b/layout/rootfs/etc/s6-rc/source-base/mount-rwfs/up deleted file mode 100644 index bb04b0e..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-rwfs/up +++ /dev/null @@ -1 +0,0 @@ -s6-mount -wt ext4 /dev/%%PARTITION%%3 /mnt/rwfs diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-stagingfs/dependencies b/layout/rootfs/etc/s6-rc/source-base/mount-stagingfs/dependencies deleted file mode 100644 index bee63cb..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-stagingfs/dependencies +++ /dev/null @@ -1 +0,0 @@ -init-coldplug diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-stagingfs/down b/layout/rootfs/etc/s6-rc/source-base/mount-stagingfs/down deleted file mode 100644 index a89d6eb..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-stagingfs/down +++ /dev/null @@ -1 +0,0 @@ -s6-umount /mnt/stagingfs diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-stagingfs/type b/layout/rootfs/etc/s6-rc/source-base/mount-stagingfs/type deleted file mode 100644 index bdd22a1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-stagingfs/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-stagingfs/up b/layout/rootfs/etc/s6-rc/source-base/mount-stagingfs/up deleted file mode 100644 index d335a16..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-stagingfs/up +++ /dev/null @@ -1 +0,0 @@ -s6-mount -wt ext4 /dev/%%PARTITION%%6 /mnt/stagingfs diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-swap/dependencies b/layout/rootfs/etc/s6-rc/source-base/mount-swap/dependencies deleted file mode 100644 index bee63cb..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-swap/dependencies +++ /dev/null @@ -1 +0,0 @@ -init-coldplug diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-swap/down b/layout/rootfs/etc/s6-rc/source-base/mount-swap/down deleted file mode 100644 index e21a30d..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-swap/down +++ /dev/null @@ -1 +0,0 @@ -s6-swapoff /dev/%%PARTITION%%3 diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-swap/type b/layout/rootfs/etc/s6-rc/source-base/mount-swap/type deleted file mode 100644 index bdd22a1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-swap/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-swap/up b/layout/rootfs/etc/s6-rc/source-base/mount-swap/up deleted file mode 100644 index 75fc818..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-swap/up +++ /dev/null @@ -1 +0,0 @@ -s6-swapon /dev/%%PARTITION%%2 diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-syncfs/dependencies b/layout/rootfs/etc/s6-rc/source-base/mount-syncfs/dependencies deleted file mode 100644 index 4daddb7..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-syncfs/dependencies +++ /dev/null @@ -1 +0,0 @@ -00 diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-syncfs/down b/layout/rootfs/etc/s6-rc/source-base/mount-syncfs/down deleted file mode 100644 index 8437c5c..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-syncfs/down +++ /dev/null @@ -1 +0,0 @@ -# s6-umount /mnt/syncfs diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-syncfs/type b/layout/rootfs/etc/s6-rc/source-base/mount-syncfs/type deleted file mode 100644 index bdd22a1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-syncfs/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-syncfs/up b/layout/rootfs/etc/s6-rc/source-base/mount-syncfs/up deleted file mode 100644 index cebf60d..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-syncfs/up +++ /dev/null @@ -1 +0,0 @@ -# s6-mount -wt tmpfs -o sync,nodev,noexec,nosuid tmpfs /mnt/syncfs diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-sys/dependencies b/layout/rootfs/etc/s6-rc/source-base/mount-sys/dependencies deleted file mode 100644 index 4daddb7..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-sys/dependencies +++ /dev/null @@ -1 +0,0 @@ -00 diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-sys/type b/layout/rootfs/etc/s6-rc/source-base/mount-sys/type deleted file mode 100644 index bdd22a1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-sys/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-sys/up b/layout/rootfs/etc/s6-rc/source-base/mount-sys/up deleted file mode 100644 index 9573fe4..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-sys/up +++ /dev/null @@ -1,3 +0,0 @@ -foreground { s6-mount -wt sysfs sys /sys } -importas ? ? -s6-test $? -le 1 diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-userfs/dependencies b/layout/rootfs/etc/s6-rc/source-base/mount-userfs/dependencies deleted file mode 100644 index bee63cb..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-userfs/dependencies +++ /dev/null @@ -1 +0,0 @@ -init-coldplug diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-userfs/down b/layout/rootfs/etc/s6-rc/source-base/mount-userfs/down deleted file mode 100644 index 2583c7d..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-userfs/down +++ /dev/null @@ -1 +0,0 @@ -s6-umount /mnt/userfs diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-userfs/type b/layout/rootfs/etc/s6-rc/source-base/mount-userfs/type deleted file mode 100644 index bdd22a1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-userfs/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-userfs/up b/layout/rootfs/etc/s6-rc/source-base/mount-userfs/up deleted file mode 100644 index fcac0f0..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-userfs/up +++ /dev/null @@ -1 +0,0 @@ -s6-mount -wt ext4 /dev/%%PARTITION%%5 /mnt/userfs diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-virtual/contents b/layout/rootfs/etc/s6-rc/source-base/mount-virtual/contents deleted file mode 100644 index 4f9af9e..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-virtual/contents +++ /dev/null @@ -1,4 +0,0 @@ -mount-proc -mount-sys -mount-devpts -mount-cgroups diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-virtual/type b/layout/rootfs/etc/s6-rc/source-base/mount-virtual/type deleted file mode 100644 index 757b422..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-virtual/type +++ /dev/null @@ -1 +0,0 @@ -bundle diff --git a/layout/rootfs/etc/s6-rc/source-base/ntpclient-log/consumer-for b/layout/rootfs/etc/s6-rc/source-base/ntpclient-log/consumer-for deleted file mode 100644 index a0f3ade..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/ntpclient-log/consumer-for +++ /dev/null @@ -1 +0,0 @@ -ntpclient diff --git a/layout/rootfs/etc/s6-rc/source-base/ntpclient-log/dependencies b/layout/rootfs/etc/s6-rc/source-base/ntpclient-log/dependencies deleted file mode 100644 index 24f7403..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/ntpclient-log/dependencies +++ /dev/null @@ -1,2 +0,0 @@ -mount-rwfs -mount-syncfs diff --git a/layout/rootfs/etc/s6-rc/source-base/ntpclient-log/pipeline-name b/layout/rootfs/etc/s6-rc/source-base/ntpclient-log/pipeline-name deleted file mode 100644 index f9615f1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/ntpclient-log/pipeline-name +++ /dev/null @@ -1 +0,0 @@ -ntpclient-pipeline diff --git a/layout/rootfs/etc/s6-rc/source-base/ntpclient-log/run b/layout/rootfs/etc/s6-rc/source-base/ntpclient-log/run deleted file mode 100755 index 8a70c74..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/ntpclient-log/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/command/execlineb -P -s6-setuidgid ntplog -exec -c -s6-log t s1000000 n20 /var/log/ntpclient diff --git a/layout/rootfs/etc/s6-rc/source-base/ntpclient-log/type b/layout/rootfs/etc/s6-rc/source-base/ntpclient-log/type deleted file mode 100644 index 5883cff..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/ntpclient-log/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/layout/rootfs/etc/s6-rc/source-base/ntpclient/dependencies b/layout/rootfs/etc/s6-rc/source-base/ntpclient/dependencies deleted file mode 100644 index a328ed2..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/ntpclient/dependencies +++ /dev/null @@ -1,3 +0,0 @@ -activate-eth0 -dnscache -init-clock diff --git a/layout/rootfs/etc/s6-rc/source-base/ntpclient/notification-fd b/layout/rootfs/etc/s6-rc/source-base/ntpclient/notification-fd deleted file mode 100644 index 00750ed..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/ntpclient/notification-fd +++ /dev/null @@ -1 +0,0 @@ -3 diff --git a/layout/rootfs/etc/s6-rc/source-base/ntpclient/producer-for b/layout/rootfs/etc/s6-rc/source-base/ntpclient/producer-for deleted file mode 100644 index c51cd0b..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/ntpclient/producer-for +++ /dev/null @@ -1 +0,0 @@ -ntpclient-log diff --git a/layout/rootfs/etc/s6-rc/source-base/ntpclient/run b/layout/rootfs/etc/s6-rc/source-base/ntpclient/run deleted file mode 100755 index 3eebee0..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/ntpclient/run +++ /dev/null @@ -1,58 +0,0 @@ -#!/command/execlineb -P - -fdmove -c 2 1 - - -# Get the IP addresses for some NTP servers in our country. -# Limit the DNS queries to 30 seconds: if the DNS is slower than -# that, chances are the server isn't good for us anyway. -# All the queries are parallelized, so it's fast. - -pipeline -{ - s6-setuidgid nobody - s6-envdir /etc/s6-linux-init/env-stage2 - importas -u COUNTRY_CODE COUNTRY_CODE - forx -p I { 0 1 } - importas -u I I - s6-dnsip4 -t 30000 -- ${I}.${COUNTRY_CODE}.pool.ntp.org -} -importas -u p1 ! - - -# Ask for a NTP exchange with the servers we get. -# If the exchange can't be completed in 5 seconds, kill it. -# All the queries are parallelized. - -pipeline -{ - s6-setuidgid ntp - forstdin -p -d"\n" NTPSERVERIP - importas -u NTPSERVERIP NTPSERVERIP - s6-sntpclock -T 5000 ${NTPSERVERIP} -} -importas -u p2 ! - - -# Take the first answer we get - -pipeline -{ - s6-setuidgid nobody - s6-head -Sc 12 -} -importas -u p3 ! - - -# Update the system clock. Accept 10 minutes of discrepancy. - -if { s6-clockadd -e 600000 } - - -# Success. Send a readiness notification, reap zombies, -# and sleep for 4 hours. - -s6-setuidgid nobody -if { fdmove 1 3 s6-echo } -wait { ${p1} ${p2} ${p3} } -s6-sleep 14400 diff --git a/layout/rootfs/etc/s6-rc/source-base/ntpclient/type b/layout/rootfs/etc/s6-rc/source-base/ntpclient/type deleted file mode 100644 index 5883cff..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/ntpclient/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/layout/rootfs/etc/s6-rc/source-base/ok-all/contents b/layout/rootfs/etc/s6-rc/source-base/ok-all/contents deleted file mode 100644 index df4c9cd..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/ok-all/contents +++ /dev/null @@ -1,3 +0,0 @@ -ok-local -ok-lan -ntpclient-pipeline diff --git a/layout/rootfs/etc/s6-rc/source-base/ok-all/type b/layout/rootfs/etc/s6-rc/source-base/ok-all/type deleted file mode 100644 index 757b422..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/ok-all/type +++ /dev/null @@ -1 +0,0 @@ -bundle diff --git a/layout/rootfs/etc/s6-rc/source-base/ok-lan/contents b/layout/rootfs/etc/s6-rc/source-base/ok-lan/contents deleted file mode 100644 index 6e6b405..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/ok-lan/contents +++ /dev/null @@ -1,3 +0,0 @@ -dnscache-pipeline -sshd-4-pipeline -activate-eth0 diff --git a/layout/rootfs/etc/s6-rc/source-base/ok-lan/type b/layout/rootfs/etc/s6-rc/source-base/ok-lan/type deleted file mode 100644 index 757b422..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/ok-lan/type +++ /dev/null @@ -1 +0,0 @@ -bundle diff --git a/layout/rootfs/etc/s6-rc/source-base/ok-local/contents b/layout/rootfs/etc/s6-rc/source-base/ok-local/contents deleted file mode 100644 index cbe3499..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/ok-local/contents +++ /dev/null @@ -1,10 +0,0 @@ -mdevd -syslogd-pipeline -klogd-pipeline -fdholder-pipeline -mount-disks -mount-virtual -init-coldplug -init-sysctl -init-fds -fifodir-cleanup diff --git a/layout/rootfs/etc/s6-rc/source-base/ok-local/type b/layout/rootfs/etc/s6-rc/source-base/ok-local/type deleted file mode 100644 index 757b422..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/ok-local/type +++ /dev/null @@ -1 +0,0 @@ -bundle diff --git a/layout/rootfs/etc/s6-rc/source-base/sshd-4-log/consumer-for b/layout/rootfs/etc/s6-rc/source-base/sshd-4-log/consumer-for deleted file mode 100644 index 7d1730e..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/sshd-4-log/consumer-for +++ /dev/null @@ -1 +0,0 @@ -sshd-4 diff --git a/layout/rootfs/etc/s6-rc/source-base/sshd-4-log/dependencies b/layout/rootfs/etc/s6-rc/source-base/sshd-4-log/dependencies deleted file mode 100644 index 24f7403..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/sshd-4-log/dependencies +++ /dev/null @@ -1,2 +0,0 @@ -mount-rwfs -mount-syncfs diff --git a/layout/rootfs/etc/s6-rc/source-base/sshd-4-log/pipeline-name b/layout/rootfs/etc/s6-rc/source-base/sshd-4-log/pipeline-name deleted file mode 100644 index d46bed2..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/sshd-4-log/pipeline-name +++ /dev/null @@ -1 +0,0 @@ -sshd-4-pipeline diff --git a/layout/rootfs/etc/s6-rc/source-base/sshd-4-log/run b/layout/rootfs/etc/s6-rc/source-base/sshd-4-log/run deleted file mode 100755 index e40c2af..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/sshd-4-log/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/command/execlineb -P -s6-setuidgid sshlog -exec -c -s6-log t s1000000 n20 /var/log/sshd-4 diff --git a/layout/rootfs/etc/s6-rc/source-base/sshd-4-log/type b/layout/rootfs/etc/s6-rc/source-base/sshd-4-log/type deleted file mode 100644 index 5883cff..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/sshd-4-log/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/layout/rootfs/etc/s6-rc/source-base/sshd-4/data/rules/ip4/0.0.0.0_0/allow b/layout/rootfs/etc/s6-rc/source-base/sshd-4/data/rules/ip4/0.0.0.0_0/allow deleted file mode 100644 index e69de29..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/sshd-4/data/rules/ip4/0.0.0.0_0/allow +++ /dev/null diff --git a/layout/rootfs/etc/s6-rc/source-base/sshd-4/dependencies b/layout/rootfs/etc/s6-rc/source-base/sshd-4/dependencies deleted file mode 100644 index 6daf05b..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/sshd-4/dependencies +++ /dev/null @@ -1 +0,0 @@ -init-lan diff --git a/layout/rootfs/etc/s6-rc/source-base/sshd-4/notification-fd b/layout/rootfs/etc/s6-rc/source-base/sshd-4/notification-fd deleted file mode 100644 index 00750ed..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/sshd-4/notification-fd +++ /dev/null @@ -1 +0,0 @@ -3 diff --git a/layout/rootfs/etc/s6-rc/source-base/sshd-4/producer-for b/layout/rootfs/etc/s6-rc/source-base/sshd-4/producer-for deleted file mode 100644 index f103f82..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/sshd-4/producer-for +++ /dev/null @@ -1 +0,0 @@ -sshd-4-log diff --git a/layout/rootfs/etc/s6-rc/source-base/sshd-4/run b/layout/rootfs/etc/s6-rc/source-base/sshd-4/run deleted file mode 100755 index 6d0c503..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/sshd-4/run +++ /dev/null @@ -1,6 +0,0 @@ -#!/command/execlineb -P -fdmove -c 2 1 -fdmove 1 3 -s6-tcpserver4 -v 2 -1 -- 0.0.0.0 22 -s6-tcpserver-access -v 2 -DRHl0 -t 5000 -i data/rules -- -dropbear -i -K 60 diff --git a/layout/rootfs/etc/s6-rc/source-base/sshd-4/type b/layout/rootfs/etc/s6-rc/source-base/sshd-4/type deleted file mode 100644 index 5883cff..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/sshd-4/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/layout/rootfs/etc/s6-rc/source-base/static-eth0/dependencies b/layout/rootfs/etc/s6-rc/source-base/static-eth0/dependencies deleted file mode 100644 index 61c05ca..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/static-eth0/dependencies +++ /dev/null @@ -1 +0,0 @@ -init-eth0 diff --git a/layout/rootfs/etc/s6-rc/source-base/static-eth0/down b/layout/rootfs/etc/s6-rc/source-base/static-eth0/down deleted file mode 100644 index 8b13789..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/static-eth0/down +++ /dev/null @@ -1 +0,0 @@ - diff --git a/layout/rootfs/etc/s6-rc/source-base/static-eth0/type b/layout/rootfs/etc/s6-rc/source-base/static-eth0/type deleted file mode 100644 index bdd22a1..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/static-eth0/type +++ /dev/null @@ -1 +0,0 @@ -oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/static-eth0/up b/layout/rootfs/etc/s6-rc/source-base/static-eth0/up deleted file mode 100644 index 640d66a..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/static-eth0/up +++ /dev/null @@ -1,9 +0,0 @@ -s6-envdir /etc/s6-linux-init/env-stage2 -multisubstitute -{ - importas -i ETH0_IP4 ETH0_IP4 - importas DEFAULT_ROUTER_IP4 DEFAULT_ROUTER_IP4 -} -if { ip addr add ${ETH0_IP4}/24 dev eth0 } -foreground { ip route del default } -route add default gw ${DEFAULT_ROUTER_IP4} diff --git a/layout/rootfs/etc/s6-rc/source-base/syslogd-log/consumer-for b/layout/rootfs/etc/s6-rc/source-base/syslogd-log/consumer-for deleted file mode 100644 index 96c5cc7..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/syslogd-log/consumer-for +++ /dev/null @@ -1 +0,0 @@ -syslogd diff --git a/layout/rootfs/etc/s6-rc/source-base/syslogd-log/dependencies b/layout/rootfs/etc/s6-rc/source-base/syslogd-log/dependencies deleted file mode 100644 index 24f7403..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/syslogd-log/dependencies +++ /dev/null @@ -1,2 +0,0 @@ -mount-rwfs -mount-syncfs diff --git a/layout/rootfs/etc/s6-rc/source-base/syslogd-log/pipeline-name b/layout/rootfs/etc/s6-rc/source-base/syslogd-log/pipeline-name deleted file mode 100644 index c8a925a..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/syslogd-log/pipeline-name +++ /dev/null @@ -1 +0,0 @@ -syslogd-pipeline diff --git a/layout/rootfs/etc/s6-rc/source-base/syslogd-log/run b/layout/rootfs/etc/s6-rc/source-base/syslogd-log/run deleted file mode 100755 index b04f309..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/syslogd-log/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/command/execlineb -P -s6-setuidgid sysllog -exec -c -s6-log t s1000000 n20 /var/log/syslogd diff --git a/layout/rootfs/etc/s6-rc/source-base/syslogd-log/type b/layout/rootfs/etc/s6-rc/source-base/syslogd-log/type deleted file mode 100644 index 5883cff..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/syslogd-log/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/layout/rootfs/etc/s6-rc/source-base/syslogd/dependencies b/layout/rootfs/etc/s6-rc/source-base/syslogd/dependencies deleted file mode 100644 index c1ee812..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/syslogd/dependencies +++ /dev/null @@ -1 +0,0 @@ -init-dev diff --git a/layout/rootfs/etc/s6-rc/source-base/syslogd/producer-for b/layout/rootfs/etc/s6-rc/source-base/syslogd/producer-for deleted file mode 100644 index 75d14f5..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/syslogd/producer-for +++ /dev/null @@ -1 +0,0 @@ -syslogd-log diff --git a/layout/rootfs/etc/s6-rc/source-base/syslogd/run b/layout/rootfs/etc/s6-rc/source-base/syslogd/run deleted file mode 100755 index 1036f5e..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/syslogd/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/command/execlineb -P -fdclose 0 -exec -c -socklog diff --git a/layout/rootfs/etc/s6-rc/source-base/syslogd/type b/layout/rootfs/etc/s6-rc/source-base/syslogd/type deleted file mode 100644 index 5883cff..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/syslogd/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0-log/consumer-for b/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0-log/consumer-for deleted file mode 100644 index 5faea8d..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0-log/consumer-for +++ /dev/null @@ -1 +0,0 @@ -udhcpc-eth0 diff --git a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0-log/dependencies b/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0-log/dependencies deleted file mode 100644 index 24f7403..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0-log/dependencies +++ /dev/null @@ -1,2 +0,0 @@ -mount-rwfs -mount-syncfs diff --git a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0-log/pipeline-name b/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0-log/pipeline-name deleted file mode 100644 index 4ab35cc..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0-log/pipeline-name +++ /dev/null @@ -1 +0,0 @@ -udhcpc-eth0-pipeline diff --git a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0-log/run b/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0-log/run deleted file mode 100644 index 51000a4..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0-log/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/command/execlineb -P -s6-setuidgid dhcpclog -exec -c -s6-log t s1000000 n20 /var/log/udhcpc-eth0 diff --git a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0-log/type b/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0-log/type deleted file mode 100644 index 5883cff..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0-log/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0/dependencies b/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0/dependencies deleted file mode 100644 index 61c05ca..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0/dependencies +++ /dev/null @@ -1 +0,0 @@ -init-eth0 diff --git a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0/env/.empty b/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0/env/.empty deleted file mode 100644 index e69de29..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0/env/.empty +++ /dev/null diff --git a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0/notification-fd b/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0/notification-fd deleted file mode 100644 index 00750ed..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0/notification-fd +++ /dev/null @@ -1 +0,0 @@ -3 diff --git a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0/producer-for b/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0/producer-for deleted file mode 100644 index a880648..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0/producer-for +++ /dev/null @@ -1 +0,0 @@ -udhcpc-eth0-log diff --git a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0/run b/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0/run deleted file mode 100644 index 6e53da6..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0/run +++ /dev/null @@ -1,5 +0,0 @@ -#!/command/execlineb -P -fdmove -c 2 1 -s6-envdir -nI env -importas -usd" " IPARG IPARG -udhcpc -f -C -i eth0 -x lease:86400 $IPARG -s /etc/udhcpc/udhcpc-script diff --git a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0/type b/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0/type deleted file mode 100644 index 5883cff..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/udhcpc-eth0/type +++ /dev/null @@ -1 +0,0 @@ -longrun |