tweak rc.local and rc.shutdown

master
M. Herdiansyah 1 year ago
parent 796b778f65
commit ba39121523
  1. 10
      config/rc.local
  2. 10
      config/rc.shutdown

@ -1,10 +1,12 @@
#!/bin/sh
# /etc/rc.local -- rc.local for Artix Linux
# /etc/dinit.d/config/rc.local -- rc.local for Artix Linux
#
for file in /etc/local.d/*.start; do
sh "$file"
done
if [ -d /etc/local.d ]; then
for file in /etc/local.d/*.start; do
sh "$file"
done
fi
# Enter your custom commands here.

@ -1,10 +1,12 @@
#!/bin/sh
# /etc/rc.shutdown -- rc.shutdown for Artix Linux
# /etc/dinit.d/config/rc.shutdown -- rc.shutdown for Artix Linux
#
for file in /etc/local.d/*.shutdown; do
sh "$file"
done
if [ -d /etc/local.d ]; then
for file in /etc/local.d/*.shutdown; do
sh "$file"
done
fi
# Enter your custom commands here.

Loading…
Cancel
Save