Commit Graph

31 Commits

Author SHA1 Message Date
Scott Ullrich
3eb3ac6c73 Overwrite .cshrc and .profile 2009-08-09 21:03:41 -04:00
Scott Ullrich
2158894861 Escape command 2009-08-09 20:55:40 -04:00
Scott Ullrich
e4225b6fcb Handle console too for noninteractive 2009-08-09 19:55:54 -04:00
Scott Ullrich
8a14ed49c3 Backout last commit, need to figure out the console angle as well 2009-08-09 19:55:54 -04:00
Scott Ullrich
e512c0a028 Fix non-interactive script bug on upgrade. 2009-08-09 17:26:49 -04:00
Scott Ullrich
39b7cd07b9 Process and remove obsoleted files 2009-06-18 20:27:30 -04:00
Scott Ullrich
dfdc44a6c1 Turn off package reinstall now that we are established on the 7.X platform. 2009-03-18 00:39:05 -04:00
Scott Ullrich
969017439e Ensure we are mount rw 2008-11-09 00:30:11 +00:00
Scott Ullrich
44abced628 Oops, use /boot/kernel/ 2008-11-09 00:18:33 +00:00
Scott Ullrich
777be1ee94 Oops, use /boot/kernel/ 2008-11-09 00:17:57 +00:00
Scott Ullrich
961ee8d032 Move pfsense_kernel.txt to /tmp and remove /boot/kernel/* contents so we
are guarantee'd a fresh kernel directory (note freebsd kernel install moves
the old kernel directory to kernel.old so this is very similar.
2008-11-09 00:15:11 +00:00
Scott Ullrich
942e38a703 Only signal a package reinstall on full installations. 2008-07-22 16:18:52 +00:00
Scott Ullrich
6e52053bda Record prior version 2008-07-07 02:11:33 +00:00
Scott Ullrich
d184e09535 #!/bin/sh 2008-07-07 01:52:48 +00:00
Scott Ullrich
f4b60051fd Signal a package reinstall after upgrade 2008-07-07 01:47:10 +00:00
Scott Ullrich
01e415be21 Do not assume that we ship uniprocessor kernel on LiveCD any longer. 2008-06-17 01:07:41 +00:00
Scott Ullrich
2da8d4edfa Untar the complete kernel to /boot/ instead of just the kernel file itself 2008-03-30 21:27:49 +00:00
Scott Ullrich
74966fc86a Nuke /usr/local/sbin/php if it exists on upgrade 2007-12-24 01:59:37 +00:00
Scott Ullrich
f79a0103ee Move ttys_wrap into place last. 2007-12-23 21:38:03 +00:00
Scott Ullrich
c366571603 Check value of /etc/platform when installing the correct ttys file.
Reported-by: Vivek Khera
2007-11-29 17:22:35 +00:00
Scott Ullrich
861283c168 Nuke cvs_sync.sh on upgrade 2007-11-24 01:07:09 +00:00
Scott Ullrich
9350a6429e Remove any previous MD5 sums after upgrade. 2007-11-07 23:09:38 +00:00
Scott Ullrich
cbd92b53d4 If index.html, fred.png or dfuife.cgi is found remove them on upgrade. 2007-10-01 18:12:57 +00:00
Scott Ullrich
db88204a28 * The drop is locked in /etc/rc.firmware * Modify ttys after the correct file is moved into place 2007-08-02 18:46:56 +00:00
Scott Ullrich
bea014d0a5 * Drop the lock before exiting * Fall back to RO on needed platforms before exiting 2007-08-02 18:44:48 +00:00
Scott Ullrich
8e9ea2815c Only zap /kernels directory if it exists 2007-08-02 18:36:12 +00:00
Scott Ullrich
8757d79f29 * Ensure source kernel exists before blindly copying * Move embedded ttys back into place after upgrade 2007-08-02 18:31:38 +00:00
Scott Ullrich
c0e4f564fb Reinstall correct kernel after upgrade. 2007-08-02 07:32:05 +00:00
Scott Ullrich
c3231d21b8 Use /etc/ttys and /etc/gettytab that ships with the update instead of rewriting the file from a custom script (and loosing special formatting such as tabs) 2007-05-09 19:41:10 +00:00
Scott Ullrich
beadd5a8f2 Lock the configuration while we fix the serial console 2007-05-09 18:36:18 +00:00
Scott Ullrich
dac733453a Create upgrade scripts for embedded which turns on the serial console. 2007-05-08 21:31:08 +00:00