diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/sbin/pfSsh.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/sbin/pfSsh.php b/usr/local/sbin/pfSsh.php index 3785380..565aa4d 100755 --- a/usr/local/sbin/pfSsh.php +++ b/usr/local/sbin/pfSsh.php @@ -56,7 +56,10 @@ echo "\$config['interfaces']['wan']['ipaddr'] = \"192.168.100.1\";\n"; echo "\$config['interfaces']['wan']['subnet'] = \"24\";\n"; echo "\n/* to save out the new configuration (config.xml) */\n"; -echo "write_config();"; +echo "write_config();\n"; + +echo "\n/* to reboot the system after saving */\n"; +echo "system_reboot_sync();"; while($shell_active == true) { echo "\n\npfSense shell> "; |