The following changes were made:
* Configuration moved to new CONFIG directory to separate from usher * Made various improvements to most init scripts * Added dependency to perl for update-rc
This commit is contained in:
16
SNAP/usher
16
SNAP/usher
@@ -8,22 +8,6 @@ case $1 in
|
||||
;;
|
||||
postinst)
|
||||
update-rc required
|
||||
|
||||
if [ ! -f /etc/fstab ]; then
|
||||
cp /usr/share/initscripts/fstab /etc/fstab
|
||||
fi
|
||||
|
||||
if [ ! -f /etc/modules.conf ]; then
|
||||
cp /usr/share/initscripts/modules.conf /etc/modules.conf
|
||||
fi
|
||||
|
||||
if [ ! -f /etc/default/halt ]; then
|
||||
cp /usr/share/initscripts/halt.default /etc/default/halt
|
||||
fi
|
||||
|
||||
if [ ! -f /etc/default/rcS ]; then
|
||||
cp /usr/share/initscripts/rcS.default /etc/default/rcS
|
||||
fi
|
||||
;;
|
||||
prerm)
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user