This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!ipxe | |
console -x 800 -y 600 --picture http://www.linux-magazin.de/extension/lnm/design/linux_magazin/images/lm_logo_online.png --top 350 | |
:menu | |
menu Was moechten Sie jetzt machen? | |
item --key n local Normaler Systemstart | |
item --gap Fuer den Systemverwalter | |
item --key i install Installationsmenue aufrufen | |
item --key d diag PC-Diagnose starten | |
item --key r reboot Neu starten |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!ipxe | |
imgload https://docs.google.com/forms/d/1_wIEKGIMbSX1Qd5JqpaM_vLGglsl_rCOCB8SNJqHCtw/formResponse?entry.1027223351=${uuid}&entry.1507713783=${asset}&entry.46865035=${manufacturer}&entry.2129135320=${product}&entry.1181250351=${serial}&entry.2095563838=${mac}&entry.615831042=${chip} && echo Thank you for participating || | |
sanboot --no-describe --drive 0x80 || shell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Version=1.0 | |
Type=Directory | |
Icon=is24-applications | |
Name=IS24 | |
Comment=IS24 tools and utilities | |
Comment[de]=IS24 Werkzeuge und Hilfsmittel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Version=1.0 | |
Encoding=UTF-8 | |
Name=IS24 VPN Client for SSLGW | |
Comment=Use to connect the VPN with a simple GUI | |
Exec=is24vpn-gui | |
Terminal=false | |
Icon=is24vpngui | |
Type=Application | |
Categories=Network;X-IS24; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See also http://wiki.xbmc.org/index.php?title=Autoexec.py | |
# Put this into the userdata folder, see http://wiki.xbmc.org/index.php?title=Userdata for details where this is for each platform | |
import xbmc | |
xbmc.executebuiltin('xbmc.PlayMedia("/storage/videos/","isdir")') | |
xbmc.executebuiltin('xbmc.PlayerControl(repeatall)') | |
xbmc.executebuiltin("Action(Fullscreen)") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ! echo '# HTTPD conf framework. Will be overwritten to this content on each install of the rpm package!!! | |
# This file is managed by %{name}-%{version}-%{release} | |
ServerRoot "/etc/httpd" | |
Include conf/basic/*.conf | |
Include conf/main/*.conf | |
Include conf/other/*.conf | |
' >/etc/httpd/conf/httpd.conf ; then | |
logger -p user.err -s -t %name -- "ERROR: Could not replace content of '/etc/httpd/conf/httpd.conf'" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -i -f - /etc/ssh/sshd_config <<EOF | |
1{ | |
i # this content comes from the %{name}-%{version}-%{release} package | |
i AddressFamily inet | |
i Protocol 2 | |
i LogLevel VERBOSE | |
i HostbasedAuthentication yes | |
i IgnoreUserKnownHosts yes | |
i IgnoreRhosts yes | |
i Banner /etc/ssh/banner.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# xauth handling, code adapted from sshd(8) | |
if type -p xauth >/dev/null && read proto cookie && [[ "$DISPLAY" ]]; then | |
if [[ "${DISPLAY:0:10}" = 'localhost:' ]] ; then | |
# X11UseLocalhost=yes | |
#echo add unix:"${DISPLAY:11}" $proto $cookie #### egrehm changed to :10 because seems to be broken on rhel6 and clones | |
echo add unix:"${DISPLAY:10}" $proto $cookie | |
else | |
# X11UseLocalhost=no | |
echo add "$DISPLAY" $proto $cookie |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# concatenate several SOURCE_CONCAT_FILE_NAMES files into a mp4 | |
# FIRST_NAME and second argument are file names or parts of a filename. All files inbetween will be concatenated. | |
START="$1" ; shift | |
END="$1" ; shift | |
COMMON_PREFIX="" | |
# find all input files |