mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 20:26:53 +00:00
Update Script Post-Install
This commit is contained in:
parent
bec2ed6284
commit
507a9c3230
@ -113,7 +113,10 @@ EOF
|
|||||||
msg_ok "$(translate "kexec-pve service enabled")"
|
msg_ok "$(translate "kexec-pve service enabled")"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Add alias for reboot-quick
|
if [ ! -f /root/.bash_profile ]; then
|
||||||
|
touch /root/.bash_profile
|
||||||
|
fi
|
||||||
|
|
||||||
if ! grep -q "alias reboot-quick='systemctl kexec'" /root/.bash_profile; then
|
if ! grep -q "alias reboot-quick='systemctl kexec'" /root/.bash_profile; then
|
||||||
echo "alias reboot-quick='systemctl kexec'" >> /root/.bash_profile
|
echo "alias reboot-quick='systemctl kexec'" >> /root/.bash_profile
|
||||||
msg_ok "$(translate "reboot-quick alias added")"
|
msg_ok "$(translate "reboot-quick alias added")"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user