12 lines
703 B
Bash
12 lines
703 B
Bash
#!/bin/bash
|
|
|
|
wget -q "https://gitlab.codycook.us/readynas-scripts/create-system-log/-/raw/main/create-system-log.timer" -O /etc/systemd/system/create-system-log.timer
|
|
wget -q "https://gitlab.codycook.us/readynas-scripts/create-system-log/-/raw/main/create-system-log.sh" -O /root/create-system-log.sh
|
|
wget -q "https://gitlab.codycook.us/readynas-scripts/create-system-log/-/raw/main/create-system-log.service" -O /etc/systemd/system/create-system-log.service
|
|
/bin/systemctl daemon-reload
|
|
/bin/chmod +x /root/create-system-log.sh
|
|
/bin/systemctl enable create-system-log.timer
|
|
/bin/systemctl start create-system-log.timer
|
|
/bin/systemctl start create-system-log.service
|
|
/bin/echo "Installation concluded."
|