Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

usb-driver

Validating
  • Joined

  • Last visited

Reputation Activity

  1. Like
    usb-driver got a reaction from lanefu in Seed our torrents   
    Hello there,
    I'm trying to adapt the cron script to deluged and I came out with this
    #!/bin/bash # # armbian torrents auto update # # download latest torrent pack TEMP_DIR=$(mktemp -d || exit 1) chmod 700 ${TEMP_DIR} trap "rm -rf \"${TEMP_DIR}\" ; exit 0" 0 1 2 3 15 wget -qO- -O ${TEMP_DIR}/armbian-torrents.zip https://dl.armbian.com/torrent/all-torrents.zip # test zip for corruption unzip -t ${TEMP_DIR}/armbian-torrents.zip >/dev/null 2>&1 [[ $? -ne 0 ]] && echo "Error in zip" && exit # extract zip unzip -o ${TEMP_DIR}/armbian-torrents.zip -d ${TEMP_DIR}/torrent-tmp >/dev/null 2>&1 # create list of current active torrents deluge-console 'info' | sed '1d; $d' > ${TEMP_DIR}/torrent-tmp/active.torrents # loop and add/update torrent files for f in ${TEMP_DIR}/torrent-tmp/*.torrent; do deluge-console "add ${f}" > /dev/null 2>&1 # remove added from the list pattern="${f//.torrent}"; pattern="${pattern##*/}"; sed -i "/$pattern/d" ${TEMP_DIR}/torrent-tmp/active.torrents done # remove old armbian torrents while read i; do [[ $i == *Armbian_* || $i == *gcc-linaro-* || $i == *tar.lz4 ]] && deluge-console "rm $(echo "$i" | awk '{print $1}';) --remove_data" done < ${TEMP_DIR}/torrent-tmp/active.torrents I'm not sure with the "active.torrents" part because i don't have transmission and i don't know how the informations from the "-l" are listed.
    For now the adding part is working and the "active.torrents" file is written! 
  2. Like
    usb-driver got a reaction from Werner in Seed our torrents   
    Hello there,
    I'm trying to adapt the cron script to deluged and I came out with this
    #!/bin/bash # # armbian torrents auto update # # download latest torrent pack TEMP_DIR=$(mktemp -d || exit 1) chmod 700 ${TEMP_DIR} trap "rm -rf \"${TEMP_DIR}\" ; exit 0" 0 1 2 3 15 wget -qO- -O ${TEMP_DIR}/armbian-torrents.zip https://dl.armbian.com/torrent/all-torrents.zip # test zip for corruption unzip -t ${TEMP_DIR}/armbian-torrents.zip >/dev/null 2>&1 [[ $? -ne 0 ]] && echo "Error in zip" && exit # extract zip unzip -o ${TEMP_DIR}/armbian-torrents.zip -d ${TEMP_DIR}/torrent-tmp >/dev/null 2>&1 # create list of current active torrents deluge-console 'info' | sed '1d; $d' > ${TEMP_DIR}/torrent-tmp/active.torrents # loop and add/update torrent files for f in ${TEMP_DIR}/torrent-tmp/*.torrent; do deluge-console "add ${f}" > /dev/null 2>&1 # remove added from the list pattern="${f//.torrent}"; pattern="${pattern##*/}"; sed -i "/$pattern/d" ${TEMP_DIR}/torrent-tmp/active.torrents done # remove old armbian torrents while read i; do [[ $i == *Armbian_* || $i == *gcc-linaro-* || $i == *tar.lz4 ]] && deluge-console "rm $(echo "$i" | awk '{print $1}';) --remove_data" done < ${TEMP_DIR}/torrent-tmp/active.torrents I'm not sure with the "active.torrents" part because i don't have transmission and i don't know how the informations from the "-l" are listed.
    For now the adding part is working and the "active.torrents" file is written! 

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.