File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ WantedBy=multi-user.target'
2727 file_c=$( printf " $file_c " | sed s/' gamename' /$gamename /g | sed " s|path|$path |g" | sed s/' whoami' /$( whoami) /g)
2828 fn_print_ok_nl " Generated the file contents"
2929 fn_print_information_nl " Enter the password of root:"
30- su -c " echo \" $file_c \" > /usr/lib /systemd/system/${selfname} -lgsm.service" || return 1 && return 0
30+ su -c " echo \" $file_c \" > /etc /systemd/system/${selfname} -lgsm.service" || return 1 && return 0
3131}
3232
3333fn_install_systemd
3636 fn_print_error_nl " su exited with non 0 exit code.. something went wrong" ;
3737 fn_script_log_fatal " su exited with non 0 exit code."
3838else
39- fn_print_complete_nl " Placed the file in /usr/lib /systemd/system/ as ${selfname} -lgsm.service"
40- fn_print_information_nl " run \` systemctl enable ${selfname} -lgsm.service\` , to enable the game on boot"
39+ fn_print_complete_nl " Placed the file in /etc /systemd/system/ as ${selfname} -lgsm.service"
40+ fn_print_information_nl " run \` systemctl enable ${selfname} -lgsm.service\` (as root) , to enable the game on boot"
4141 fn_script_log_pass " sucessfullly installed the systemd service file"
4242fi
4343core_exit.sh
You can’t perform that action at this time.
0 commit comments