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'
27
27
file_c=$( printf " $file_c " | sed s/' gamename' /$gamename /g | sed " s|path|$path |g" | sed s/' whoami' /$( whoami) /g)
28
28
fn_print_ok_nl " Generated the file contents"
29
29
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
31
31
}
32
32
33
33
fn_install_systemd
36
36
fn_print_error_nl " su exited with non 0 exit code.. something went wrong" ;
37
37
fn_script_log_fatal " su exited with non 0 exit code."
38
38
else
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"
41
41
fn_script_log_pass " sucessfullly installed the systemd service file"
42
42
fi
43
43
core_exit.sh
You can’t perform that action at this time.
0 commit comments