index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-03-15 16:29:41 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-03-15 16:29:41 +0000 |
commit | 2a3aa2738d1faf65c7949c0eed90c317fd77e13d (patch) | |
tree | 7fa75950e491b246fa31cd3208c364cfd28c53de /archinstall.py | |
parent | 4223631b80c6787b470313d829beda5b5ed08037 (diff) |
-rw-r--r-- | archinstall.py | 4 |
diff --git a/archinstall.py b/archinstall.py index 808ee018..fab7586b 100644 --- a/archinstall.py +++ b/archinstall.py @@ -992,6 +992,10 @@ def flush_all_mirrors(*positionals, **kwargs): mirrorlist.write('\n') # TODO: Not needed. return True +def reboot(*positionals, **kwargs): + simple_command('/usr/bin/sync', *positionals, **kwargs).decode('UTF-8').strip() + simple_command('/usr/bin/reboot', *positionals, **kwargs).decode('UTF-8').strip() + def strap_in_base(*positionals, **kwargs): if args['aur-support']: args['packages'] += ' git' |