Jump to content

unmenu not reinstlling apps on restart


Recommended Posts

Every time I restart my server (not often) I have to reinstall everything that I installed through unmenu.  When I click download it will immediately change over and say reinstall on reboot.  I have uninstalled programs and tried reinstalling them but I have the same issues.

The line it added to your config/go file probably got appended to a prior line because the prior line did not have a linefeed at the end of the line.

 

What does the contents of your config/go script look like?

 

The last line in it should look like this:

cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c

 

Joe L.

Link to comment

I have manually edited with vim here is its contents.  I don't reboot the server often so I don't know at what point the issue started.

 

#!/bin/bash

# Start the Management Utility

/usr/local/sbin/emhttp &

/boot/unmenu/uu

echo 192.168.1.4 Tower >> /etc/hosts

cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | rgs -n1 sh -c 

# determine if cache drive online, retry upto 15 times
for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
do
    if [ ! -d /mnt/cache ]
    then
      sleep 10
    fi
done

# If Cache drive is online, start SABNzbd
if [ -d /mnt/cache ]; then
  # Start SABnzbd and sickbeard
  installpkg /boot/custom/SABnzbdDependencies-1.3-i486-unRAID.tgz
  python /mnt/cache/.custom/sabnzbd/SABnzbd.py -d -s 192.168.1.4:88
  nohup python /mnt/cache/.custom/sickbeard/SickBeard.py &
  cd /mnt/cache/.custom/HentaiAtHome/ && hath.sh &
fi

installpkg /boot/custom/lynx-*.txz
installpkg /boot/custom/etherwake-*.txz

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...