This commit is contained in:
parent
3f84744ae4
commit
f8417a5f64
2 changed files with 6 additions and 4 deletions
|
|
@ -91,7 +91,7 @@
|
|||
clean = "sudo nix-collect-garbage -d";
|
||||
ll = "ls -alh";
|
||||
clear = "command clear";
|
||||
reboot = "sudo systemctl reboot";
|
||||
reboot = "bash -c 'if [ \"$(hostname)\" = \"FredOS-Mediaserver\" ]; then read -r -p \"Reboot $(hostname)? [y/N] \" confirm; case \"$confirm\" in [Yy]) ;; *) exit 0 ;; esac; fi; sudo systemctl reboot'";
|
||||
};
|
||||
|
||||
# Add packages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue