mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 12:30:44 +02:00
pentoo/pentoo-system: update motd, install some helpers for user
This commit is contained in:
parent
40d54ca250
commit
7049e15fab
4 changed files with 43 additions and 24 deletions
|
|
@ -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\"."
|
||||
|
|
@ -12,24 +12,25 @@
|
|||
|
||||
Welcome to Pentoo powered by Gentoo linux...
|
||||
[1;31;30m
|
||||
****************************************************************************
|
||||
* *
|
||||
* [1;31;37m All network interfaces are now down at boot. [1;31;30m*
|
||||
* [1;31;37m For gui network manager, type "/etc/init.d/NetworkManager start" [1;31;30m*
|
||||
* [1;31;37m Or you can type dhcpcd ethX to setup your network interface. [1;31;30m*
|
||||
* [1;31;37m If you have a broadcom wifi card it is currently using b43-openfwwf. [1;31;30m*
|
||||
* [1;31;37m If this is undesirable or non-functional type "./b43-commercial" [1;31;30m*
|
||||
* [1;31;37m You can toggle PaX hardening on and off with "toggle_hardened" [1;31;30m*
|
||||
* *
|
||||
* [1;31;37m If you are running live usb there are many ways to save changes: [1;31;30m*
|
||||
* [1;31;37m You can run "flushchanges" to automatically save any current changes. [1;31;30m*
|
||||
* [1;31;37m You can run "makemo category/package" to add a new package [1;31;30m*
|
||||
* [1;31;37m which will be available now and after reboot. [1;31;30m*
|
||||
* *
|
||||
* [1;31;37m Pentoo Bug Tracker https://github.com/pentoo/pentoo-overlay/issues [1;31;30m*
|
||||
* [1;31;37m Update using "pentoo-updater" command. [1;31;30m*
|
||||
* *
|
||||
* [1;31;37m Type startx to launch XFCE window manager [1;31;30m*
|
||||
* [1;31;37m enlightenment e17 is also installed but not ready for general use yet [1;31;30m*
|
||||
* *
|
||||
****************************************************************************
|
||||
*****************************************************************************
|
||||
* *
|
||||
* [1;31;37m All network interfaces are now down at boot. [1;31;30m*
|
||||
* [1;31;37m For gui network manager, type "/etc/init.d/NetworkManager start" as root [1;31;30m*
|
||||
* [1;31;37m Or you can type "dhcpcd ethX" as root to setup your network interface. [1;31;30m*
|
||||
* [1;31;37m If you have a broadcom wifi card it is currently using b43-openfwwf. [1;31;30m*
|
||||
* [1;31;37m If this is undesirable or non-functional type "./b43-commercial" [1;31;30m*
|
||||
* [1;31;37m You can toggle PaX hardening on and off with "toggle_hardened" as root [1;31;30m*
|
||||
* *
|
||||
* [1;31;37m If you are running live usb there are many ways to save changes: [1;31;30m*
|
||||
* [1;31;37m You can run "flushchanges" as root to automatically save any ^[[1;31;30m*
|
||||
* ^[[1;31;37m changes made since boot. [1;31;30m*
|
||||
* [1;31;37m You can run "makemo category/package" as root to install a new package [1;31;30m*
|
||||
* [1;31;37m which will be available now and after reboot. [1;31;30m*
|
||||
* *
|
||||
* [1;31;37m Pentoo Bug Tracker https://github.com/pentoo/pentoo-overlay/issues [1;31;30m*
|
||||
* [1;31;37m Update using "pentoo-updater" command as root. [1;31;30m*
|
||||
* *
|
||||
* [1;31;37m Type startx to launch XFCE window manager [1;31;30m*
|
||||
* [1;31;37m enlightenment e17 is also installed but not ready for general use yet [1;31;30m*
|
||||
* *
|
||||
*****************************************************************************
|
||||
10
pentoo/pentoo-system/files/sudo_toggle_hardened.desktop
Normal file
10
pentoo/pentoo-system/files/sudo_toggle_hardened.desktop
Normal 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
|
||||
|
|
@ -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
|
||||
Loading…
Reference in a new issue