Made it so this package runs rc sync only once and waits 3 seconds before doing so in case init-watchdog is also responding.
14 lines
244 B
Bash
Executable File
14 lines
244 B
Bash
Executable File
#!/bin/ash
|
|
|
|
# Backup the original index.html and replace with login.html
|
|
mv /www/index.html /www/index.html.old
|
|
cp /www/login.html /www/index.html
|
|
|
|
service quecmanager-services enable
|
|
service quecmanager-services start
|
|
sleep 3
|
|
rc_sync
|
|
|
|
exit 0
|
|
|