source created scripts

This commit is contained in:
2025-04-05 00:28:09 +03:00
parent 59db09be75
commit ed21c8d061

View File

@@ -251,6 +251,8 @@ RemainAfterExit=yes
WantedBy=multi-user.target
EOF
source "$TEMP_DIR/y"
sudo mv "$TEMP_DIR/wol.service" /etc/systemd/system/wol.service
log_cmd "sudo systemctl daemon-reload" "Reloading systemd" "$log_file"
log_cmd "sudo systemctl enable wol.service" "Enabling WoL service" "$log_file"