tree: revert latest fix

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-08-22 23:34:35 +02:00
parent d56cfe7c41
commit 6beef76caf
19 changed files with 31 additions and 31 deletions

View File

@ -26,7 +26,7 @@ User=root
Type=simple
Restart=on-failure
RestartSec=5s
ExecStart=-/usr/bin/amepatch.sh
ExecStart=/usr/bin/amepatch.sh
[Install]
WantedBy=multi-user.target

View File

@ -23,7 +23,7 @@ After=multi-user.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=-/usr/bin/codecpatch.sh
ExecStart=/usr/bin/codecpatch.sh
[Install]
WantedBy=multi-user.target

View File

@ -65,17 +65,17 @@ elif [ "${1}" = "late" ]; then
mkdir -p "/tmpRoot/usr/lib/systemd/system"
DEST="/tmpRoot/usr/lib/systemd/system/keymap.service"
echo "[Unit]" >${DEST}
echo "Description=Configure keymap" >>${DEST}
echo "After=getty.target" >>${DEST}
echo >>${DEST}
echo "[Service]" >>${DEST}
echo "Type=oneshot" >>${DEST}
echo "RemainAfterExit=yes" >>${DEST}
echo "ExecStart=-/usr/bin/loadkeys /usr/share/keymaps/i386/${LAYOUT:-qwerty}/${KEYMAP:-us}.map.gz" >>${DEST}
echo >>${DEST}
echo "[Install]" >>${DEST}
echo "WantedBy=multi-user.target" >>${DEST}
echo "[Unit]" >${DEST}
echo "Description=Configure keymap" >>${DEST}
echo "After=getty.target" >>${DEST}
echo >>${DEST}
echo "[Service]" >>${DEST}
echo "Type=oneshot" >>${DEST}
echo "RemainAfterExit=yes" >>${DEST}
echo "ExecStart=/usr/bin/loadkeys /usr/share/keymaps/i386/${LAYOUT:-qwerty}/${KEYMAP:-us}.map.gz" >>${DEST}
echo >>${DEST}
echo "[Install]" >>${DEST}
echo "WantedBy=multi-user.target" >>${DEST}
mkdir -vp /tmpRoot/usr/lib/systemd/system/multi-user.target.wants
ln -vsf /usr/lib/systemd/system/keymap.service /tmpRoot/usr/lib/systemd/system/multi-user.target.wants/keymap.service

View File

@ -31,7 +31,7 @@ User=root
Type=simple
Restart=on-failure
RestartSec=10s
ExecStart=-/usr/bin/scaler.sh
ExecStart=/usr/bin/scaler.sh
[Install]
WantedBy=multi-user.target
@ -57,7 +57,7 @@ User=root
Type=simple
Restart=on-failure
RestartSec=10s
ExecStart=-/usr/bin/rescaler.sh ${2}
ExecStart=/usr/bin/rescaler.sh ${2}
[Install]
WantedBy=multi-user.target

View File

@ -24,7 +24,7 @@ After=multi-user.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=-/usr/bin/cpuinfo.sh $@
ExecStart=/usr/bin/cpuinfo.sh $@
[Install]
WantedBy=multi-user.target

View File

@ -23,7 +23,7 @@ After=multi-user.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=-/usr/bin/deduplication.sh -s -e --hdd
ExecStart=/usr/bin/deduplication.sh -s -e --hdd
[Install]
WantedBy=multi-user.target

View File

@ -22,7 +22,7 @@ if [ "${1}" = "late" ]; then
echo "[Service]" >>${DEST}
echo "Type=oneshot" >>${DEST}
echo "RemainAfterExit=yes" >>${DEST}
echo "ExecStart=-/usr/bin/expands.sh" >>${DEST}
echo "ExecStart=/usr/bin/expands.sh" >>${DEST}
echo >>${DEST}
echo "[Install]" >>${DEST}
echo "WantedBy=multi-user.target" >>${DEST}

View File

@ -23,7 +23,7 @@ After=multi-user.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=-/usr/bin/hdddb.sh -nfrewp
ExecStart=/usr/bin/hdddb.sh -nfrewp
[Install]
WantedBy=multi-user.target

View File

@ -11,7 +11,7 @@ if [ "${1}" = "late" ]; then
echo "[Service]" >>${DEST}
echo "Type=oneshot" >>${DEST}
echo "RemainAfterExit=yes" >>${DEST}
echo "ExecStart=-/usr/sbin/hostspatch.sh" >>${DEST}
echo "ExecStart=/usr/sbin/hostspatch.sh" >>${DEST}
echo >>${DEST}
echo "[Install]" >>${DEST}
echo "WantedBy=multi-user.target" >>${DEST}

View File

@ -39,7 +39,7 @@ After=multi-user.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=-/usr/bin/ledcontrol.sh
ExecStart=/usr/bin/ledcontrol.sh
[Install]
WantedBy=multi-user.target

View File

@ -11,7 +11,7 @@ if [ "${1}" = "late" ]; then
echo "[Service]" >>${DEST}
echo "Type=oneshot" >>${DEST}
echo "RemainAfterExit=yes" >>${DEST}
echo "ExecStart=-/usr/bin/smb3-multi.sh" >>${DEST}
echo "ExecStart=/usr/bin/smb3-multi.sh" >>${DEST}
echo >>${DEST}
echo "[Install]" >>${DEST}
echo "WantedBy=multi-user.target" >>${DEST}

View File

@ -22,7 +22,7 @@ if [ "${1}" = "late" ]; then
echo "[Service]" >>${DEST}
echo "Type=oneshot" >>${DEST}
echo "RemainAfterExit=yes" >>${DEST}
echo "ExecStart=-/usr/bin/notify.sh" >>${DEST}
echo "ExecStart=/usr/bin/notify.sh" >>${DEST}
echo >>${DEST}
echo "[Install]" >>${DEST}
echo "WantedBy=multi-user.target" >>${DEST}

View File

@ -64,7 +64,7 @@ elif [ "${1}" = "late" ]; then
echo "[Service]" >>${DEST}
echo "Type=oneshot" >>${DEST}
echo "RemainAfterExit=yes" >>${DEST}
echo "ExecStart=-/usr/bin/nvmesystem.sh" >>${DEST}
echo "ExecStart=/usr/bin/nvmesystem.sh" >>${DEST}
echo >>${DEST}
echo "[Install]" >>${DEST}
echo "WantedBy=multi-user.target" >>${DEST}

View File

@ -23,7 +23,7 @@ if [ "${1}" = "late" ]; then
echo "[Service]" >>${DEST}
echo "Type=oneshot" >>${DEST}
echo "RemainAfterExit=yes" >>${DEST}
echo "ExecStart=-/usr/bin/photosfacepatch.sh" >>${DEST}
echo "ExecStart=/usr/bin/photosfacepatch.sh" >>${DEST}
echo >>${DEST}
echo "[Install]" >>${DEST}
echo "WantedBy=multi-user.target" >>${DEST}

View File

@ -19,7 +19,7 @@ if [ "${1}" = "late" ]; then
SED_PATH='/tmpRoot/usr/bin/sed'
${SED_PATH} -i '/\/usr\/sbin\/powersched/d' /tmpRoot/etc/crontab
# Add line to crontab, execute each minute
echo "* * * * * root /usr/sbin/powersched #arc powersched addon" >>/tmpRoot/etc/crontab
echo "* * * * * root /usr/sbin/powersched #arpl powersched addon" >>/tmpRoot/etc/crontab
elif [ "${1}" = "uninstall" ]; then
echo "Installing addon powersched - ${1}"

View File

@ -23,7 +23,7 @@ elif [ "${1}" = "late" ]; then
mkdir -p "/tmpRoot/usr/lib/systemd/system"
DEST="/tmpRoot/usr/lib/systemd/system/rndis.service"
echo "[Unit]" >${DEST}
echo "[Unit]" > ${DEST}
echo "Description=Android USB Network Adapter" >>${DEST}
echo "After=multi-user.target" >>${DEST}
echo "ConditionPathExists=/sys/class/net/usb0" >>${DEST}
@ -31,7 +31,7 @@ elif [ "${1}" = "late" ]; then
echo "[Service]" >>${DEST}
echo "Type=simple" >>${DEST}
echo "Restart=always" >>${DEST}
echo "ExecStart=-/usr/bin/rndis.sh" >>${DEST}
echo "ExecStart=/usr/bin/rndis.sh" >>${DEST}
echo >>${DEST}
echo "[Install]" >>${DEST}
echo "WantedBy=multi-user.target" >>${DEST}

View File

@ -22,7 +22,7 @@ if [ "${1}" = "late" ]; then
echo "[Service]" >>${DEST}
echo "Type=oneshot" >>${DEST}
echo "RemainAfterExit=yes" >>${DEST}
echo "ExecStart=-/usr/bin/sequentialio.sh $@" >>${DEST}
echo "ExecStart=/usr/bin/sequentialio.sh $@" >>${DEST}
echo >>${DEST}
echo "[Install]" >>${DEST}
echo "WantedBy=multi-user.target" >>${DEST}

View File

@ -28,7 +28,7 @@ After=multi-user.target
User=root
Type=oneshot
RemainAfterExit=yes
ExecStart=-/usr/bin/storagepanel.sh $@
ExecStart=/usr/bin/storagepanel.sh $@
[Install]
WantedBy=multi-user.target

View File

@ -32,7 +32,7 @@ After=multi-user.target
User=root
Type=oneshot
RemainAfterExit=yes
ExecStart=-/usr/bin/wol.sh
ExecStart=/usr/bin/wol.sh
[Install]
WantedBy=multi-user.target