Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/boot/halt.sh

13 lines
239 B
Bash
Raw Normal View History

* Started setting up a proper init environment. svn path=/nixu/trunk/; revision=785
2004-02-16 09:41:00 +00:00
#! @bash@/bin/sh -e
* Networking now works in the UML machine. Masquerading for the tun device should be enabled on the host in order for the UML machine to be able to talk to the Internet. svn path=/nixu/trunk/; revision=806
2004-02-19 12:49:00 +00:00
. @out@/bin/env.sh
* Started setting up a proper init environment. svn path=/nixu/trunk/; revision=785
2004-02-16 09:41:00 +00:00
* Use sysvinit's init to start the system. This has the happy side-effect of initialising the console properly (i.e., enabling Ctrl-[C, Z]). svn path=/nixu/trunk/; revision=801
2004-02-18 10:56:07 +00:00
echo "remounting / read-only..."
mount -n -o remount,rw /dev/root / || echo "(failed)" # ignore errors
echo "syncing..."
sync || echo "(failed)" # ignore errors
* Started setting up a proper init environment. svn path=/nixu/trunk/; revision=785
2004-02-16 09:41:00 +00:00
echo "shutting down..."
* Use sysvinit's init to start the system. This has the happy side-effect of initialising the console properly (i.e., enabling Ctrl-[C, Z]). svn path=/nixu/trunk/; revision=801
2004-02-18 10:56:07 +00:00
halt -d -f
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 77ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API