pentoo/pentoo-system: update motd, install some helpers for user

This commit is contained in:
Rick Farina (Zero_Chaos) 2016-07-27 14:03:12 -04:00
parent 40d54ca250
commit 7049e15fab
No known key found for this signature in database
GPG key ID: A5DD1427DD11F94A
4 changed files with 43 additions and 24 deletions

View file

@ -1,5 +1,9 @@
#!/bin/bash
emerge broadcom-firmware-installer
if [ "${EUID}" = "0" ]; then
emerge broadcom-firmware-installer
else
sudo emerge broadcom-firmware-installer
fi
echo "You can make a module for your personal use and put it in the modules"
echo "folder of your usb/cd for personal use only."
echo "To do this run \"makemo broadcom-firmware-installer\"."

View file

@ -12,24 +12,25 @@
Welcome to Pentoo powered by Gentoo linux...

****************************************************************************
* *
*  All network interfaces are now down at boot. *
*  For gui network manager, type "/etc/init.d/NetworkManager start" *
*  Or you can type dhcpcd ethX to setup your network interface. *
*  If you have a broadcom wifi card it is currently using b43-openfwwf. *
*  If this is undesirable or non-functional type "./b43-commercial" *
*  You can toggle PaX hardening on and off with "toggle_hardened" *
* *
*  If you are running live usb there are many ways to save changes: *
*  You can run "flushchanges" to automatically save any current changes. *
*  You can run "makemo category/package" to add a new package *
*  which will be available now and after reboot. *
* *
*  Pentoo Bug Tracker https://github.com/pentoo/pentoo-overlay/issues *
*  Update using "pentoo-updater" command. *
* *
*  Type startx to launch XFCE window manager *
*  enlightenment e17 is also installed but not ready for general use yet *
* *
****************************************************************************
*****************************************************************************
* *
*  All network interfaces are now down at boot. *
*  For gui network manager, type "/etc/init.d/NetworkManager start" as root *
*  Or you can type "dhcpcd ethX" as root to setup your network interface. *
*  If you have a broadcom wifi card it is currently using b43-openfwwf. *
*  If this is undesirable or non-functional type "./b43-commercial" *
*  You can toggle PaX hardening on and off with "toggle_hardened" as root *
* *
*  If you are running live usb there are many ways to save changes: *
*  You can run "flushchanges" as root to automatically save any ^[[1;31;30m*
* ^[[1;31;37m changes made since boot. *
*  You can run "makemo category/package" as root to install a new package *
*  which will be available now and after reboot. *
* *
*  Pentoo Bug Tracker https://github.com/pentoo/pentoo-overlay/issues *
*  Update using "pentoo-updater" command as root. *
* *
*  Type startx to launch XFCE window manager *
*  enlightenment e17 is also installed but not ready for general use yet *
* *
*****************************************************************************

View file

@ -0,0 +1,10 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=toggle_hardened
Comment={En,Dis}able PaX softmode
Exec=/usr/sbin/toggle_hardened
Icon=changes-allow
Path=/tmp
Terminal=false
StartupNotify=false

View file

@ -130,11 +130,15 @@ src_install() {
dosbin "${FILESDIR}"/toggle_hardened
exeinto /root/Desktop/
doexe "${FILESDIR}"/toggle_hardened.desktop
exeinto /etc/skel/Desktop/
newexe "${FILESDIR}"/sudo_toggle_hardened.desktop toggle_hardened.desktop
fi
##here is where we merge in things from root_overlay which make sense
exeinto /root
newexe "${FILESDIR}"/b43-commercial-2012.1 b43-commercial
newexe "${FILESDIR}"/b43-commercial-2016.3 b43-commercial
execinto /etc/skel
newexe "${FILESDIR}"/b43-commercial-2016.3 b43-commercial
#/usr/bin
use enlightenment && newbin "${FILESDIR}"/dokeybindings-2012.1 dokeybindings
@ -143,7 +147,7 @@ src_install() {
insinto /etc
echo "Pentoo Release ${PV}" > pentoo-release
doins pentoo-release
newins "${FILESDIR}"/motd-2015.4 motd
newins "${FILESDIR}"/motd-2016.3 motd
dodir /etc/env.d
use kde && echo 'XSESSION="KDE-4"' > "${ED}"/etc/env.d/90xsession