Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- entware()
- {
- while [ ! -f /opt/etc/init.d/rc.unslung ]
- do sleep 3s
- done
- swapon -p 1000 /opt/../swapfile
- /opt/etc/init.d/rc.unslung start
- }
- [ "$1" != "start" ] || entware >/dev/null 2>&1 &
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement