summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2025-07-15 20:51:19 -0500
committerzachir <zachir@librem.one>2025-07-15 20:51:19 -0500
commit2cb2c1039650dd919b57022bc5d24c1ad3a842ea (patch)
tree6607c356e448a2047411ff88f39ba7fdaf88f8bc
parent4f5fb6b16fb0dc03ed2aae56658cc0fa0265a7ff (diff)
Remove artix stuff from main branch
-rwxr-xr-xs6-db-update31
-rwxr-xr-xs6-user-update31
-rwxr-xr-xus6c31
3 files changed, 0 insertions, 93 deletions
diff --git a/s6-db-update b/s6-db-update
deleted file mode 100755
index 5359b5d..0000000
--- a/s6-db-update
+++ /dev/null
@@ -1,31 +0,0 @@
- #!/bin/sh
-
- DATAPATH="/home/${USER}/.local/share/s6"
- RCPATH="${DATAPATH}/rc"
- DBPATH="${RCPATH}/compiled"
- SVPATH="${DATAPATH}/sv"
- SVDIRS="/run/${USER}/s6-rc/servicedirs"
- TIMESTAMP=$(date +%s)
-
- if ! s6-rc-compile "${DBPATH}"-"${TIMESTAMP}" "${SVPATH}"; then
- echo "Error compiling database. Please double check the ${SVPATH} directories."
- exit 1
- fi
-
- if [ -e "/run/${USER}/s6-rc" ]; then
- for dir in "${SVDIRS}"/*; do
- if [ -e "${dir}/down" ]; then
- s6-svc -x "${dir}"
- fi
- done
- s6-rc-update -l "/run/${USER}/s6-rc" "${DBPATH}"-"${TIMESTAMP}"
- fi
-
- if [ -d "${DBPATH}" ]; then
- ln -sf "${DBPATH}"-"${TIMESTAMP}" "${DBPATH}"/compiled && mv -f "${DBPATH}"/compiled "${RCPATH}"
- else
- ln -sf "${DBPATH}"-"${TIMESTAMP}" "${DBPATH}"
- fi
-
- echo "==> Switched to a new database for ${USER}."
- echo " Remove any old unwanted/unneeded database directories in ${RCPATH}."
diff --git a/s6-user-update b/s6-user-update
deleted file mode 100755
index 5359b5d..0000000
--- a/s6-user-update
+++ /dev/null
@@ -1,31 +0,0 @@
- #!/bin/sh
-
- DATAPATH="/home/${USER}/.local/share/s6"
- RCPATH="${DATAPATH}/rc"
- DBPATH="${RCPATH}/compiled"
- SVPATH="${DATAPATH}/sv"
- SVDIRS="/run/${USER}/s6-rc/servicedirs"
- TIMESTAMP=$(date +%s)
-
- if ! s6-rc-compile "${DBPATH}"-"${TIMESTAMP}" "${SVPATH}"; then
- echo "Error compiling database. Please double check the ${SVPATH} directories."
- exit 1
- fi
-
- if [ -e "/run/${USER}/s6-rc" ]; then
- for dir in "${SVDIRS}"/*; do
- if [ -e "${dir}/down" ]; then
- s6-svc -x "${dir}"
- fi
- done
- s6-rc-update -l "/run/${USER}/s6-rc" "${DBPATH}"-"${TIMESTAMP}"
- fi
-
- if [ -d "${DBPATH}" ]; then
- ln -sf "${DBPATH}"-"${TIMESTAMP}" "${DBPATH}"/compiled && mv -f "${DBPATH}"/compiled "${RCPATH}"
- else
- ln -sf "${DBPATH}"-"${TIMESTAMP}" "${DBPATH}"
- fi
-
- echo "==> Switched to a new database for ${USER}."
- echo " Remove any old unwanted/unneeded database directories in ${RCPATH}."
diff --git a/us6c b/us6c
deleted file mode 100755
index 0b55077..0000000
--- a/us6c
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-
-DATAPATH="/home/${USER}/.local/share/s6"
-RCPATH="${DATAPATH}/rc"
-DBPATH="${RCPATH}/compiled"
-SVPATH="${DATAPATH}/sv"
-SVDIRS="/run/${USER}/s6-rc/servicedirs"
-TIMESTAMP=$(date +%s)
-
-if ! s6-rc-compile "${DBPATH}"-"${TIMESTAMP}" "${SVPATH}"; then
- echo "Error compiling database. Please double check the ${SVPATH} directories."
- exit 1
-fi
-
-if [ -e "/run/${USER}/s6-rc" ]; then
- for dir in "${SVDIRS}"/*; do
- if [ -e "${dir}/down" ]; then
- s6-svc -x "${dir}"
- fi
- done
- s6-rc-update -l "/run/${USER}/s6-rc" "${DBPATH}"-"${TIMESTAMP}"
-fi
-
-if [ -d "${DBPATH}" ]; then
- ln -sf "${DBPATH}"-"${TIMESTAMP}" "${DBPATH}"/compiled && mv -f "${DBPATH}"/compiled "${RCPATH}"
-else
- ln -sf "${DBPATH}"-"${TIMESTAMP}" "${DBPATH}"
-fi
-
-echo "==> Switched to a new database for ${USER}."
-echo " Remove any old unwanted/unneeded database directories in ${RCPATH}."