Fix permissions (again)

This commit is contained in:
iamromulan
2024-04-13 22:55:24 -04:00
parent 221178abb0
commit dd98716a44
3 changed files with 3 additions and 5 deletions

View File

@@ -51,7 +51,7 @@ remount_rw() {
remount_ro() {
mount -o remount,ro /
}
remount_rw
uninstall_simpleadmin() {
echo "Uninstalling Simpleadmin..."
@@ -77,7 +77,6 @@ uninstall_simpleadmin() {
rm /lib/systemd/system/multi-user.target.wants/ttyd.service
rm /bin/ttyd
echo -e "\e[1;32mttyd has been uninstalled.\e[0m"
remount_ro
echo "Uninstallation process completed."
}