Rename to more general name

(Portage version: 2.2.0_alpha123/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
This commit is contained in:
Mario Fetka
2012-11-04 21:28:16 +01:00
parent 5ff31b0ba3
commit fc30f999ee
7 changed files with 139 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
# 00-sabayon-anti-fork-bomb.conf
#
# This file estabilishes Sabayon Linux default process
# limits to defend the system against malicious or faulty
# code that could potentially make the system unusable by
# spawning an excessive amount of processes.
#
# The root account is not affected by process number
# limitations. This way a root console can always kill any
# offending process, but an offending root process could
# still block the system.
#
# Each line describes a limit for a user in the form:
#
# <domain> <type> <item> <value>
* soft nproc 1300
* hard nproc 1800
root - nproc infinity

View File

@@ -0,0 +1,5 @@
#!/usr/bin/python
from entropy.client.interfaces import Client
cl = Client()
print(len(cl.calculate_updates()[0]))

View File

@@ -0,0 +1,3 @@
#!/bin/bash
LC_ALL=en_US.UTF-8 equo update &> /dev/null

View File

@@ -0,0 +1,35 @@
#!/bin/bash
# asciiart genrator
# http://www.network-science.de/ascii/ Font big for SabLink
#clear
COLOUR_LOGO="31"
COLOUR_INFO1="32"
COLOUR_INFO2="31"
COLOUR_INFO3="37"
echo ''
echo 'Hello, welcome to [1;'${COLOUR_INFO1}';40m'$(uname -n)', running'
echo '[0;'${COLOUR_LOGO}';40m _____ _ _ _ _ '
echo '[0;'${COLOUR_LOGO}';40m / ____| | | | | (_) | | '
echo '[0;'${COLOUR_LOGO}';40m| (___ __ _| |__ | | _ _ __ | | __'
echo '[0;'${COLOUR_LOGO}';40m \___ \ / _` | ´_ \| | | | ´_ \| |/ /'
echo '[0;'${COLOUR_LOGO}';40m ____) | (_| | |_) | |____| | | | | < '
echo '[0;'${COLOUR_LOGO}';40m|_____/ \__,_|_.__/|______|_|_| |_|_|\_\'
echo ''
echo '[1;'${COLOUR_INFO2}';40m'$(uname -s)' '$(uname -m)' '$(uname -r)' (compiled [0;'${COLOUR_INFO3}';40m'$(uname -v)')'
echo ''
echo 'Processor : [0;'${COLOUR_INFO1}';40m'$(cat /proc/cpuinfo | grep -i 'Processor' | cut -c 13-50 )''
echo 'BogoMIPS : [0;'${COLOUR_INFO1}';40m'$(cat /proc/cpuinfo | grep -i 'BogoMIPS' | cut -c 12-50 | tr -d ' ')''
echo 'RAM : [0;'${COLOUR_INFO1}';40m'$(free -m | grep -i 'Mem:' | cut -c 13-20)'[0;'${COLOUR_INFO3}';40mMB'
echo 'Swap : [0;'${COLOUR_INFO1}';40m'$(free -m | grep -i 'Swap:' | cut -c 15-20)'[0;'${COLOUR_INFO3}';40mMB'
echo 'Uptime : [0;'${COLOUR_INFO3}';40m'$(uptime | cut -c 2-60)''
echo 'Logged on as : [0;'${COLOUR_INFO1}';40m'$(whoami)' on [0;'${COLOUR_INFO1}';40m'$(tty)'[0;'${COLOUR_INFO3}';40m since [0;'${COLOUR_INFO1}';40m'$(date)''
echo 'Users logged in : [0;'${COLOUR_INFO1}';40m'$(who -q | more +1)''
echo ''
echo 'Package updates : [0;'${COLOUR_INFO1}';40m'$(sablink-equo-check)' available updates'
echo ''