aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-10 14:49:13 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-10 14:49:13 -0500
commit513a44c9e1f0efdca3791a28c9b54fc2fd63d320 (patch)
tree0cab71f69580d92a5c8f0abe98e9448e102efab5
parent7e786ff5f1eeebe0b07da0980227797ec7bb245a (diff)
Fix link creation for /run and /run lock. Was causing issues when botting because /run ended up being an inifnite loop.
-rw-r--r--createdirs.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/createdirs.sh b/createdirs.sh
index a1092f4..0e6995d 100644
--- a/createdirs.sh
+++ b/createdirs.sh
@@ -73,8 +73,8 @@ else {
sudo mkdir -pv var/lib/misc
sudo mkdir -pv var/lib/locate
- sudo ln -sfv run var/run
- sudo ln -sfv run/lock var/lock
+ sudo ln -sfv run /var/run
+ sudo ln -sfv run/lock /var/lock
sudo install -v -d -m 0750 root
sudo install -v -d -m 1777 tmp