tennea9 Thankyou for sharing your script. The framework is especially useful.
Since you're currently working on your script, here's some more feedback, in case you think any might be useful.
1. IMHO the kde5 package is way too bloated (why include a pile of games ?).
Rather than kde5, better to start with following packages and work up from there :
plasma5-plasma plasma5-sddm-kcm kdenetwork kdeutils kdeadmin kdenetwork kdenetwork-filesharing kdeutils
2. SDDM Autologin
3. Dragonfly DMA
Where do you draw the line and yell "enough" ?
Since you're currently working on your script, here's some more feedback, in case you think any might be useful.
1. IMHO the kde5 package is way too bloated (why include a pile of games ?).
Rather than kde5, better to start with following packages and work up from there :
plasma5-plasma plasma5-sddm-kcm kdenetwork kdeutils kdeadmin kdenetwork kdenetwork-filesharing kdeutils
2. SDDM Autologin
Code:
# Autologin
auto_login() {
USER='user' # adjust this to suit
if bsddialog --yesno "Autologin $USER ?" 5 25; then
cat <<EOF >> /usr/local/etc/sddm.conf
[Autologin]
User=$USER
Session=plasma
EOF
echo '/usr/local/etc/sddm.conf updated'
fi
}
3. Dragonfly DMA
Code:
# Dragonfly
dma() {
if bsddialog --yesno "Activate Dragonfly DMA ?" 5 28; then
# pkg install -y dma
HOSTNAME=`hostname`
MAILSERVER=$(bsddialog --inputbox "Address of mailserver" 8 29 2>&1 1>/dev/tty)
if [ -e /etc/dma/dma.conf ]; then
mv /etc/dma/dma.conf /etc/dma/dma.conf.original
fi
cat <<EOF > /etc/dma/dma.conf
SMARTHOST $MAILSERVER
MAILNAME $HOSTNAME
NULLCLIENT
EOF
cat <<EOF >> /etc/rc.conf
# Disable sendmail
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
EOF
fi
cat /etc/dma/dma.conf
sleep 5
}
Where do you draw the line and yell "enough" ?
Last edited: