mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-22 06:17:52 +00:00
8da5d5d723
- modify bash to have it configured with -Os
14 lines
304 B
Bash
Executable File
14 lines
304 B
Bash
Executable File
#!/bin/bash
|
|
. /etc/functions
|
|
|
|
TRACE "Under /bin/reboot"
|
|
|
|
# Sync all mounted filesystems
|
|
echo s > /proc/sysrq-trigger
|
|
|
|
# Remount all mounted filesystems in read-only mode
|
|
echo u > /proc/sysrq-trigger
|
|
|
|
# Immediately reboot the system, without unmounting or syncing filesystems
|
|
echo b > /proc/sysrq-trigger
|