diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-02 05:23:45 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-02 05:23:45 +0200 |
commit | 576b6208d6defe240bfa2477d6dd19f1ed83bfaf (patch) | |
tree | 7d54883f16cccc4cbd414398d7fec3c437b36b49 /app-misc/ds-scripts/files | |
parent | fdd6b67a78a966f6a2131de8fe0e539316511083 (diff) | |
download | darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.gz darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.bz2 darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.xz darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.zip |
Cleaned most of outdated stuff
Diffstat (limited to 'app-misc/ds-scripts/files')
-rw-r--r-- | app-misc/ds-scripts/files/alias.sh.darklin.sh | 71 | ||||
-rw-r--r-- | app-misc/ds-scripts/files/ds-scripts.tar.bz2 | bin | 1751 -> 0 bytes | |||
-rw-r--r-- | app-misc/ds-scripts/files/ds-video.tar.bz2 | bin | 3863 -> 0 bytes | |||
-rwxr-xr-x | app-misc/ds-scripts/files/m3u | 48 |
4 files changed, 0 insertions, 119 deletions
diff --git a/app-misc/ds-scripts/files/alias.sh.darklin.sh b/app-misc/ds-scripts/files/alias.sh.darklin.sh deleted file mode 100644 index 09007de..0000000 --- a/app-misc/ds-scripts/files/alias.sh.darklin.sh +++ /dev/null @@ -1,71 +0,0 @@ -########### For localised file names, without locale set -alias ls="ls --color --show-control-chars --quoting-style=escape" -alias la="ls -la --color --show-control-chars --quoting-style=escape" -alias l="ls -l --color --show-control-chars --quoting-style=escape" -########### Fast chdir -## RPM -alias rpm:="cd /usr/src/RPM" -alias specs:="cd /usr/src/RPM/SPECS" -alias srpms:="cd /usr/src/RPM/SRPMS" -alias rpms:="cd /usr/src/RPM/RPMS/i686" -## MNT -alias mnt:="cd /mnt" -alias a:="cd /mnt/a" -alias c:="cd /mnt/c" -alias d:="cd /mnt/d" -alias e:="cd /mnt/e" -alias f:="cd /mnt/f" -alias g:="cd /mnt/g" -alias mp3:="cd /mnt/mp3" -alias cdrom:="cd /mnt/cdrom" -alias cdn:="cd /mnt/cdrom" -alias cdr:="cd /mnt/cdr" -alias cd:="cd /mnt/cdrom" -alias cd2:="cd /mnt/cdrom2" -alias cd3:="cd /mnt/cdrom3" -alias temp:="cd /mnt/temp" -alias tmp:="cd /mnt/tmp" -alias tmp1:="cd /mnt/tmp1" -alias tmp2:="cd /mnt/tmp2" -alias tmp3:="cd /mnt/tmp3" -alias tmp4:="cd /mnt/tmp4" -alias tmp5:="cd /mnt/tmp5" -alias img:="cd /mnt/img" -alias img1:="cd /mnt/img1" -alias img2:="cd /mnt/img2" -alias img3:="cd /mnt/img3" -alias img4:="cd /mnt/img4" -alias img5:="cd /mnt/img5" -alias upload:="cd /mnt/upload" -alias download:="cd /mnt/download" -########### Mounts -alias mnt="mount" -## Floppy -alias ifdd="mount /dev/fd0" -alias efdd="umount /dev/fd0" -alias izip="modprobe parport_pc ; modprobe ppa ; mount /dev/sdb4" -alias ezip="umount /dev/sdb4" -## CD -alias icd="mount /dev/cdrom" -alias ecd="umount /dev/cdrom ; eject /dev/cdrom" -alias icd2="mount /dev/cdrom2" -alias ecd2="umount /dev/cdrom2 ; eject /dev/cdrom2" -alias icd3="mount /dev/cdrom3" -alias ecd3="umount /dev/cdrom3 ; eject /dev/cdrom3" -alias icdr="mount /dev/scd0" -alias ecdr="umount /dev/scd0 ; eject /dev/scd0" -## VFat -alias vmount="mount -t vfat -o noexec,quiet,iocharset=koi8-r,codepage=866" -alias ntmount="mount -t ntfs -o noexec,iocharset=koi8-r,umask=0222" -########### Libraries -alias iproxy="export LDP=$LD_PRELOAD ; export LD_PRELOAD=$LD_PRELOAD:/usr/lib/libtsocks.so" -alias eproxy="export LD_PRELOAD=$LDP" -# alias l5="export LDLP=$LD_LIBRARY_PATH ; export LD_LIBRARY_PATH=/usr/i486-linux-libc5/lib:$LD_LIBRARY_PATH" -# alias l6="export LD_LIBRARY_PATH=$LDLP" -########### Kernel -#alias kernel-load-lpcd="insmod paride ; insmod on26 ; insmod pcd" -alias module-compile="gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c" -########### Programms -alias vslick="/opt/vslick/bin/vs" -alias ica="/usr/lib/ICAClient/wfcmgr" -alias ooffice=ooffice2 diff --git a/app-misc/ds-scripts/files/ds-scripts.tar.bz2 b/app-misc/ds-scripts/files/ds-scripts.tar.bz2 Binary files differdeleted file mode 100644 index 6a5d8e5..0000000 --- a/app-misc/ds-scripts/files/ds-scripts.tar.bz2 +++ /dev/null diff --git a/app-misc/ds-scripts/files/ds-video.tar.bz2 b/app-misc/ds-scripts/files/ds-video.tar.bz2 Binary files differdeleted file mode 100644 index f44b675..0000000 --- a/app-misc/ds-scripts/files/ds-video.tar.bz2 +++ /dev/null diff --git a/app-misc/ds-scripts/files/m3u b/app-misc/ds-scripts/files/m3u deleted file mode 100755 index e5496a5..0000000 --- a/app-misc/ds-scripts/files/m3u +++ /dev/null @@ -1,48 +0,0 @@ -#! /bin/bash - -if [ -z "$1" ] -then - echo "Usage: m3u [ -f encoding -p encoding ] <playlist.m3u> [random]" - exit -fi - -if [ "$2" = "random" ] -then - prm="-Z -z" -else - prm="" -fi - -FSE=`cat /etc/m3u.conf | grep FSEncoding | sed s/'^[ \t]*FSEncoding[ \t]*=[ \t]*'//g | sed s/'[ \t]*'$//g` -PLE=`cat /etc/m3u.conf | grep PLEncoding | sed s/'^[ \t]*PLEncoding[ \t]*=[ \t]*'//g | sed s/'[ \t]*'$//g` - -pl=1 -while getopts 'f:p:' OPT; do - pl=`expr $pl + 2` - case $OPT in - f) - FSE=$OPTARG - ;; - p) - PLE=$OPTARG - ;; - esac -done - - -pl=`eval echo "\\$${pl}"` - -if [ -z "$FSE" -o -z "$PLE" ]; then - cmd="cat \"$pl\"" -else - cmd="cat \"$pl\" | iconv -f $PLE -t $FSE" -fi - -s=$(eval $cmd | grep -E "\.[mMoOwW][pPgGaA][23gGvV]" | sed s/
//g | sed s/'\\'/'\/'/g | sed s/^/\"/ | sed s/$/\"/ | perl -pi -e 's|\n| |gs' ) - -if [ -n "$prm" ] -then - eval mpg123 $prm "$s" -else - eval zinf "$s" -fi |