Skip to content

Commit

Permalink
Fixed wrong double quote usage which made is prematurely exit.
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanSelen committed Jan 7, 2025
1 parent 09bcd4c commit 6f1d826
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ntos/configs/minimal/finish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ xfconf-query -c xfce4-desktop -p $(xfconf-query -c xfce4-desktop -l | grep "work
echo -e '\nEscalating for remote management agent installation...'

# Use su to switch to root and run commands interactively
su -c "
su root -c "
# Start agent installation for remote management. (e.g. MeshCentral, NinjaRMM, ConnectWise RMM, N-Able, etc...)
Expand All @@ -103,8 +103,10 @@ else
echo 'Error: Source xfce4-panel.xml not found at /home/user/.config/xfce4/xfconfxfce-perchannel-xml/xfce4-panel.xml'
fi
echo "Removing keyboard shortcuts"
# Removing both xfce4-keyboard shortcuts to be sure.
echo 'Removing keyboard shortcuts'
rm /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
rm /home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
mkdir -p /home/user/.config/autostart
cp /etc/xdg/autostart/light-locker.desktop /home/user/.config/autostart
Expand Down

0 comments on commit 6f1d826

Please sign in to comment.