ALT-F Packages. Installed services doesn't boot automatically
free alternative firmware for the DLink DNS-320/320L/321/323/325/327L
Brought to you by:
jcard
Installed Services from ALT-F Packages doesn't start at boot even if I check "V" boot enabled under Services.
The box is currently running Alt-F 1.0 with kernel 4.4.86, and is flashed with "Alt-F-1.0, initrd" and kernel "Alt-F-1.0, kernel 4.4.86"
DNS-323 Rev. C1
I need to use "user service" to wait for ALT-F Packages and start it from script.
#!/bin/sh
# Script to execute as the root user at boot time.
# You can loose your data or make the system inaccessible
# if using the wrong commands. You have been warned!
# redirect the current shell environment to user.log
exec >> /var/log/user.log 2>&1
# launch at argument start or stop
case "$1" in
start)
echo "Starting $0"
# Waiting for Alt-F packages to be available (e.g. transmission)
echo -n "Waiting for Alt-F packages to be available:"
while ! aufs.sh -s >& /dev/null; do
echo -n '.'
sleep 1
done
echo OK
# Starting user daemons
echo "Starting user daemons"
rctransmission start
rccacert start
rcminidlna start
;;
stop)
echo "Stopping $0"
;;
esac
Last edit: Roberto Ribes 2023-03-03