Yeah...systemd is taking some getting used to, and I'm completely lost as far as package management goes, having tried pacman briefly in the past but only experiencing failure LOL
I can confirm random shutdown freezes; thought maybe there was a race condition so I put some sleepy time into the shutdown script, to no avail. wifi works out of the box, firefox install worked well too.
At the risk of causing more problems than solutions with my uneducated hacks, I'm playing a bit with implementing cheatcodes. First one up is "login=", cuz I love me some autologin as root
In rootcopy:
create a file at /etc/systemd/system/cheadcode.service
text:
Code: Select all
[Unit]
Description=Execute Porteus Cheatcodes
[Service]
ExecStart=/opt/porteus-scripts/cheatcodes.sh
[Install]
WantedBy=multi-user.target
Now create your script in rootcopy, /opt/porteus-scripts/cheatcodes.sh with the following:
Code: Select all
#!/bin/bash
#testing script for cheatcodes
# set LXDE autouser
login=`egrep -o " login=[^ ]+*" /proc/cmdline | cut -dn -f2`
[ "$login" ] && sed -i -r s/^.*autologin=.*$/autologin$login/g /etc/lxdm/lxdm.conf || sed -i -r s/^.*autologin=.*$/autologin=guest/g /etc/lxdm/lxdm.conf