Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- #
- # DESCRIPTION
- # "flash" script for Asus wl500g router.
- #
- # Saves filesystem state into flash memory
- #
- #
- # INSTRUCTIONS
- # Put script in "/usr/local/sbin"
- # Save flashfs:
- # flashfs save && flashfs commit && flashfs enable
- # Reboot device
- # reboot
- # Log to stderr as well as the system log
- LOGGER_OPTIONS=-s
- logger $LOGGER_OPTIONS "Saving filesystem changes into flash memory..."
- flashfs save && flashfs commit && flashfs enable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement