Skip to content

Instantly share code, notes, and snippets.

@vuolter
Last active August 29, 2015 14:01
Show Gist options
  • Save vuolter/39b73f1cc15b243afdfc to your computer and use it in GitHub Desktop.
Save vuolter/39b73f1cc15b243afdfc to your computer and use it in GitHub Desktop.
Tomato init.autostop
#!/bin/sh
if [ -d /opt/etc/init.d ]
then
for f in /opt/etc/init.d/S*
do [ -x "$f" ] && $f stop
done
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment