mirror of
https://codeberg.org/fairyglade/ly.git
synced 2026-08-09 07:09:13 +02:00
Remove shutdown_cmd & restart_cmd + sleep & hibernate
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
parent
acb532b5d4
commit
5fc5fd62a0
6 changed files with 85 additions and 156 deletions
|
|
@ -136,10 +136,6 @@ pub fn Installer(install_config: bool) type {
|
|||
try patch_map.put("$PREFIX_DIRECTORY", prefix_directory);
|
||||
try patch_map.put("$EXECUTABLE_NAME", executable_name);
|
||||
|
||||
// The "-a" argument doesn't exist on FreeBSD, so we use "-p"
|
||||
// instead to shutdown the system.
|
||||
try patch_map.put("$PLATFORM_SHUTDOWN_ARG", if (init_system == .freebsd) "-p" else "-a");
|
||||
|
||||
try install_ly(allocator, io, patch_map, install_config);
|
||||
try install_service(allocator, io, patch_map);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue