mirror of
https://github.com/AuxXxilium/arc-addons.git
synced 2024-11-23 21:50:52 +07:00
tree: fix
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
eee0b91cfa
commit
b038874087
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
@ -55,7 +55,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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
|
Binary file not shown.
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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 #arpl powersched addon" >>/tmpRoot/etc/crontab
|
||||
echo "* * * * * root /usr/sbin/powersched #arc powersched addon" >>/tmpRoot/etc/crontab
|
||||
elif [ "${1}" = "uninstall" ]; then
|
||||
echo "Installing addon powersched - ${1}"
|
||||
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user